In a message dated: Tue, 27 Feb 2001 09:21:14 CST
"Kevin D. Clark" said:
>I haven't tested this much but this might do the trick:
>
>perl -0\nFrom\ -ne '/\nmessage-id: (\S+)?\n/is; $m{$1} = $_; END { print jo
>in "\n", values(%m);} ' your-mail-box-files(s) > uniq-mailbox-file
>
>
>Gosh, I hope that Ben doesn't flame me for using a long line here.... (-:
You might also want to look at some of the utilities that come with procmail,
specifically the formail program. I believe there's an option to do this.
--
Seeya,
Paul
----
It may look like I'm just sitting here doing nothing,
but I'm really actively waiting for all my problems to go away.
If you're not having fun, you're not doing it right!
**********************************************************
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
**********************************************************