Re: html tag stripping
David Bushong <[email protected]> Thu, 26 Jun 2003 10:01:29 -0700
| Newsgroups | gmane.mail.ifile.general |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Jun 26, 2003 at 10:12:12AM +0200, clemens fischer wrote: > * David Bushong: > > > Well, even if people are filtering non-email through it, it doesn't > > handle tagged input gracefully. An option to do a simple, na??ve > > tag-strip seems like a win to me. > > have you thought about piping emails through "sed -E 's/<.+>//g'" to > check if a naive approach suffices? > ... > It's not too hard to do with a preprocessor, but you want to do things like skip headers, not go too far into large MIME files, etc. All of these are things ifile is already doing; it seems a waste to redo them. This just seems like a feature that would be very handy to have in ifile, along the lines of -a, -h, and -m. --David Bushong