I've been trying to come up with a recipe to remove blocks of text (ads) from a
newsletter I receive daily. The blocks have
distinctive start and end lines so I'd hope it would be relatively easy.
Unfortunately my brain seems to be on vacation.
Here's a sample ad block:
/-=-=-[advertisement]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-\
I CAN HELP ANYONE GET MORE MONEY FAST---and I can prove it!
<insert several more lines of garbage here>
\-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-/
I need a recipe that will remove those distinctive lines and everything in
between them while leaving the rest of the message
intact. Help?
Teph
_______________________________________________
procmail mailing list
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail