Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mutt



 John Abreau <[hidden email]> wrote: 
> Stripping headers like that makes sense in the context 
> of human readability, not in the context of the underlying 
> message store. 
  
Actually, back before I learned perl, I wrote a small C program called 
"trimhdr" to do something very similar.  It read an RFC822-formatted email 
message on standard input, dropped all the headers but To:, From:, 
Cc:, Date:, and Subject:, then preserved the body. 

When reading my email, if I wanted to print a message, I piped it 
to "trimhdr | lpr" and saved some paper as well as adding readability. 

You don't want to see the C code.  It wasn't very pretty. :-) 

-- 
Bob Leigh [hidden email] 

-- 
This message has been scanned for viruses and 
dangerous content by MailScanner, and is 
believed to be clean. 

_______________________________________________ 
Discuss mailing list 
[hidden email] 
http://lists.blu.org/mailman/listinfo/discuss
 


BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org