Ronald J Kimball wrote:

I want to take a mailbox file and strip all but a few headers, leaving those headers and the accompanying text, for the multiple messages contained in the mailbox file.

Okay, you want to "extract" those headers - at least, that's what formail
calls it; that's -X.  You probably want to keep the message body as well;
that's -k.  For example:

formail -k -X From -X From: -X Subject: -s

Thanks, Ronald, that works like a charm. Exactly what I needed. (The documentation is a bit hard to follow when you're fairly new to this stuff :-(

DN

--
------------------------------------------------------------------
Have a feature request? Not sure the software's working correctly?
If so, please send mail to <[EMAIL PROTECTED]>, not to the list.
List FAQ: <http://www.barebones.com/support/lists/bbedit_talk.shtml>
List archives: <http://www.listsearch.com/BBEditTalk.lasso>
To unsubscribe, send mail to:  <[EMAIL PROTECTED]>

Reply via email to