procmail
[Top] [All Lists]

Re: Stripping multiple lines out of Body

2003-01-16 16:17:26
On Thursday, Jan 16, 2003, at 07:57 Canada/Mountain, Lars Hecking wrote:
LuKreme writes:
I have a mailing list (Topica) that appends 8 lines of crap:

==^========= etc
This email was sent to: kremels(_at_)kreme(_dot_)com

EASY UNSUBSCRIBE click here:
http://topica.com/u/?aaP7Ft.bWenR5.a3JlbWVs/d
Or send an email to: TEL-unsubscribe(_at_)topica(_dot_)com

TOPICA - Start your own email discussion group. FREE!
here
==^===== etc

 sed '/^==\^=========$/,/^==\^=====$/d'


sed '/^==\^==+/,/^==\^==+/d' does not work.

sed '/^==\^====/,/^==\^====/d' does.

Doesn't + mean "one or more of the preceding character"?

--
I know that you believe you understand what you think I said but I am not sure you realize that what you heard is not what I meant.


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