Hi,

On Mon, Oct 04, 1999 at 17:30 -0600, Allan K. Neal wrote:

> I was wondering if there is anyway to export a message,thread, and or
> mailbox without the headers.  I would like to export an entire mailbox and
> a couple of threads but I don't want any headers, only the body of the
> text.  Is there any way to do this, or a program/script that will edit out
> the headers for me?

perl -ne 'if (/^$/ .. s/^From .*$//) { print }' some_mailbox >out

will strip the headers of an mbox format mailbox.

Ciao,
        Stefan

Reply via email to