Article View: comp.mail.mush
Article #134Re: Saving just mail headers
From: John Robert LoVerso
Date: Fri, 11 Aug 1989 17:33
Date: Fri, 11 Aug 1989 17:33
23 lines
1524 bytes
1524 bytes
In article <4177@ogccse.ogc.edu> schaefer@ogccse.UUCP (Barton E. Schaefer) writes:
> mush> pipe sed -n 1,/\^\$/p >> file
...
> "pipe" does not write the ignored headers ("ignore" command or "show_hdrs"
> variable). If you want to save ALL the headers, you have to do a little
> more work:
> mush> set print_cmd='sed -n 1,/\^\$/p >> file'
> mush> lpr
> printing message 11...(219 lines)
> 1 message printed through "sed -n 1,/\^\$/p >> file".
> mush> unset print_cmd
Not to be picky, but this sounds more like the "lpr" command is unneeded,
and that "pipe" needs additional work. I.e., perhaps there should be an
option to pipe, "-a"(?), which says "even send all headers". Then
"lpr" just becomes an alias using "pipe -a", and the mechanism pipe out
complete messages becomes much cleaner.
John
--
John Robert LoVerso Xylogics, Inc. 617/272-8140
loverso@Xylogics.COM Annex Terminal Server Development Group
encore!xylogics!loverso [formerly of Encore Computer Corp]
Technical Details
Message-ID:
<6883@xenna.Xylogics.COM>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!encore!xylogics!loversoReferences:
<236@nikhefh.hep.nl> <120719@sun.Eng.Sun.COM> <4177@ogccse.ogc.edu>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!bu-cs!encore!xylogics!loverso From: loverso@Xylogics.COM (John Robert LoVerso) Newsgroups: comp.mail.mush Subject: Re: Saving just mail headers Keywords: mail headers Message-ID: <6883@xenna.Xylogics.COM> Date: 11 Aug 89 17:33:59 GMT References: <236@nikhefh.hep.nl> <120719@sun.Eng.Sun.COM> <4177@ogccse.ogc.edu> Reply-To: loverso@Xylogics.COM (John Robert LoVerso) Organization: Xylogics, Inc., Burlington MA Lines: 23