scripsit Pete Harlan:
> On Wed, Nov 19, 2003 at 08:37:29PM +0000, p wrote:
> > On Wed, Nov 19, 2003 at 09:22:01PM +0200, Micha Feigin wrote:
> > > How do I save a mail message to disk with mutt? I want to save it
> > > to disk, not another mail folder (saving to a different mail
> > > folder appears quite clearly in the docs but couldn't find save to
> > > disk).
[snip]
> > |
> > cat > [file name]
> 
> Does that differ from 's' (save), then entering the filename?
> 
> (Besides the fact that > will overwrite an existing file while 's'
> will append, and the fact that 's' will mark the mail for deletion
> (use 'C' instead of 's', I believe, if you don't want that.))

`s' creates a mailbox, which adds control headers.  In the case of your
post, the new headers are (after all other headers, before the body):

] Status: RO
] Content-Length: 950
] Lines: 30

If I pipe to cat, those added headers are removed.

-- 
Pax vobiscum; pax cum omnibus.

Thanasis Kinias
tkinias at asu.edu
Doctoral Student, Department of History
Arizona State University
Tempe, Arizona, U.S.A.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to