On Mon, Aug 23, 2010 at 09:46:58PM -0600, Anthony J. Bentley wrote: > > Is there currently a tool or script that I can use to strip html > > from emails? Basically, it should work like this: > > > > - Read the message from stdin > > - If there is no html, leave as is > > - If it finds both html and plain text, strip the html attachment > > - If it finds html but no plain text, leave as is > > > > In case something like this doesn't exist, I wouldn't mind writing > > one for myself (awk sounds like the right tool for the job). > > It???s not quite what you???re asking for, but I have nmh set up like this: > mhshow-show-text/html: lynx -dump %F | less > > Lynx sucks but it sorta works well enough here, I guess. >
Yeah, not quite what I'm looking for. Basically I want something that I can pipe the message to with my MDA (fdm) before it is delievered to my maildir.