procmail
[Top] [All Lists]

Re: sed's and body content filter

2003-01-16 08:52:38
To use a sed  on messages, you either  a] have to know which messages to use
it on, or b] run it globally on all messages.

If a], you could probably filter the messages out on other criteria,
If b], how much processor time is used when applying such a thing to all
incoming mail? I.e., is it a beast or a bear? Wise or foolish?

<U>You have be<!--jefferis-->en ap<!--jefferis-->pro<!--jefferis-->ved.<BR>
[...]

If the html comments don't cross line boundaries, you can strip them out
with sed:

sed 's/<!--[^-][^-]*-->//g'

~~~~~~~~~~~~
Jefferis Peterson, Pres.
Web Design and Marketing
http://www.PetersonSales.com
Tel . 724-458-7169
ICQ 19112253

"One man gives freely, yet grows all the richer; another withholds what he
should give, and only suffers lack." -  Proverbs 11:24 


_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

<Prev in Thread] Current Thread [Next in Thread>