Re: deleting all field headers except ...1996-04-24 13:22:37Robert Brown asked, | Is there a way to use formail to delete all field headers except a | particular list of them? I'd like to do something like: | | $ formail -I "" -u From < foo If you want to print out only one header (or a short specific list of headers) and the body, formail -kX'From ' < foo will preserve the From_ line and the body. formail -kXFrom < foo will keep the body and every line from the head that starts with 'From': i.e., the From_ line and the From: header.
|
|