Re: Saved mail viewer

2001-05-16 Thread Åsmund Ødegård
Tue, 15 May skrev csj:
 I'm looking for a stand-alone text viewer that filters out the mail
 headers in saved mail, basically a prettifier. Is there such an animal?
 
 -- 
 Say I have:
[snip]

You may have a look on formail, e.g., pipe the message through formail -I ,
gives you the mail body.

-- 
Åsmund Ødegård
Scientific Programmer, SiV/ISU, Ifi, UiO
http://www.ifi.uio.no/~aasmundo/
j: 22 84 00 63 - m: 90 06 99 15
-- auto sig --
2KO 12 10 Derfor er jeg vel til mote i skrøpelighet, i mishandling, i
  nød, i forfølgelser, i trengsler for Kristi skyld; for når jeg er
  skrøpelig, da er jeg sterk.



Re: Saved mail viewer

2001-05-14 Thread Dave Carrigan
csj [EMAIL PROTECTED] writes:

 I'm looking for a stand-alone text viewer that filters out the mail
 headers in saved mail, basically a prettifier. Is there such an animal?

  perl -ne 'print if /^$/ .. /^From /' saved_mail_file

-- 
Dave Carrigan ([EMAIL PROTECTED])| Yow! The LOGARITHM of an
UNIX-Apache-Perl-Linux-Firewalls-LDAP-C-DNS | ISOCELES TRIANGLE is TUESDAY
Seattle, WA, USA| WELD!!
http://www.rudedog.org/ | 



Re: Saved mail viewer

2001-05-14 Thread Jim McCloskey

csj [EMAIL PROTECTED] writes:

 I'm looking for a stand-alone text viewer that filters out the mail
 headers in saved mail, basically a prettifier. Is there such an
 animal?

Emacs RMAIL has this feature. Typing `w' while in RMAIL causes the
body of the message to be saved to a file, with the headers
excised. The default name of the file is taken from the subject
header, but you're prompted, so you can name it what you want,

Jim