Re: Changing the starting $MSGNUM$

2002-12-09 12:16:43
On December 9, 2002 at 05:24, "Robert Holmgren" wrote:

Not really.  If input is a mailbox, multiple HTML files will be
associated to a single input file.  Also, mhonarc can read from
stdin, so there would be no real file to associate with.
Generally, it is best to utilize the message-ids to do any tracking.

Understood.  But if you're just -adding individual POP files, it's very handy
to be able to *simply* associate an individual POP file input with a
msg#####.htm output -- e.g. in case you want to -rmm it and convert it again
for some reason (lots of good reasons, actually).  Having to grep through the
POP files to find a Msg-Id is tedious.

Not really:

  perl -n -e 'print $_  if s/^message-id:\s*//i;' popfile

spits out all message-ids in a file.  Hence, if you want to delete
all associated messages in a archive, do:

  mhonarc -rmm `perl -n -e 'print $_  if s/^message-id:\s*//i;' popfile`


To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the

<Prev in Thread] Current Thread [Next in Thread>