procmail
[Top] [All Lists]

Re: deleting mailing list footer

2002-08-05 01:25:12
On Mon, 5 Aug 2002, Brad Forschinger wrote:

On Sun, Aug 04, 2002 at 04:32:14PM +0300, Udi Mottelo wrote:
    Something like this?

sed -e '/./{H;$!d;}' -e 'x;/unsubscribe from this/d;/Yahoo/d'

That grabs anything with "unsubscribe from this" though, so if someone
replies with that in the body; goodbye body!

        But, of course!  It is just example and I suppose that Hanspeter
        will find the right strings (not easy for this purpose!  I would
        not dare to do so)

        Anyway, you can do:

 ... /unsubscribe from this.*Yahoo/
                           ^^
        To make it AND instead of OR.

Bye,
 Udi

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