Mike Schiraldi wrote: > > > or "grep -v '^X-Priority'" would work. > > > > .. which you can use via a subshell. > > I don't know. It would be nice to press the key bound to <filter> and type, > like, > perl -pe 's/<.*?>//g' > to remove all HTML tags from a message. > > Or > tr A-Za-z N-ZA-Mn-za-m > to rot13 a message. Of course, that'd mess up the headers, but you could > stash it in a script that took care of them: > > #! /usr/bin/perl -W > while(<>) { print; s/\r//g; chomp; last unless $_; } > while(<>) { y/A-Za-z/N-ZA-Mn-za-m/; print; } > > This sort of enhancement could be generally useful (not to mention cool) > enough to merit a tiny patch like the one i posted earlier. The stripped > mutt binary is only 640 bytes bigger. > > You could even write a script to remove people's S/MIME signatures when they > sign messages they post to the mutt list.
One more example: formail -i 'References: <...>' to force a message into a thread (and overcome poorly-behaved mailers that leave out the References: and In-Reply-To: headers). Steve