[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Changing the starting $MSGNUM$



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`

--ewh

---------------------------------------------------------------------
To sign-off this list, send email to majordomo@mhonarc.org with the
message text UNSUBSCRIBE MHONARC-USERS


[Index of Archives]     [Bugtraq]     [Yosemite News]     [Mhonarc Home]