procmail
[Top] [All Lists]

Re: Stripping multiple lines out of Body

2003-01-16 08:20:41
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'

 You may not neet the $'s, and you may have to experiment with the number of
 ='s, as I'm not sure what your "etc" stands for.


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