Well, if you can't find any other way, good old MH might
come to the rescue.  You'd first say

   inc -file yourMboxFile

and unless you're already an MH user it will offer (and
you should allow it) to create some files and directories
in your $HOME, the most pertinent result of which will be
the creation of a subdirectory called $HOME/Mail/inbox.
It will then split each message out of your yourMboxFile
file (which will remain unaltered) into individual files in
that subdirectory.  Those files will have names that are
simply their sequence number as encountered in the mbox
file - the first will be 1, the second will be 2, etc.
You could then say

   sortm

and those files in $HOME/Mail/inbox will be reordered and
renamed on the basis of their Date: fields such that the
earliest will be now 1, the next will be 2, etc.  You can
then do as you will with them.  MH is cool.


**********************************************************
To unsubscribe from this list, send mail to
[EMAIL PROTECTED] with the following text in the
*body* (*not* the subject line) of the letter:
unsubscribe gnhlug
**********************************************************

Reply via email to