procmail
[Top] [All Lists]

Re: deleting mailing list footer

2002-08-05 01:03:03
  On Aug 04 at 16:32, Udi Mottelo spoke:

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

      It will delete the paragraph which contains the strings
      "unsubscribe from this" or "Yahoo".

Ok. This accomplishes the main task. Thanks.

Is there a recipe to delete the remaining trailing blank lines?

      [  Was tested on Solaris7 and sh(1)      ]
      [  Still crypted like perl, isn't? (:-)  ]

It must have something to do with hold space. I have no personal
experience using hold space.

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