On Tue, Oct 05, 1999 at 08:42:01PM +0200, Stefan Troeger wrote:
> 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.

Or use formail (man formail for more details),

 | formail -I ""                #extracts body of current mail

robert

Reply via email to