[prev in list] [next in list] [prev in thread] [next in thread]
List: procmail
Subject: Re: Cleaning up a message
From: Stan Ryckman <stanr () sunspot ! tiac ! net>
Date: 2001-10-31 22:41:16
[Download RAW message or body]
At 02:43 AM 10/26/2001, Andrew Edelstein wrote:
[snip]
>Oy vey, that's heinous.
>
>:0fb
>* ^From:.*breakingnews@cnn\.com
>* ^Subject:.*Breaking News
>|grep '--'
>
>:0A:
>!pager@address
That's usually trouble because grep thinks that '--' is some sort of
attempt to specify an option. Use
egrep '[-]-'
or something similar to match two dashes.
And, as someone else pointed out, it only works if the message is
always confined to line(s) with "--" in it(them).
Cheers,
Stan
_______________________________________________
procmail mailing list
procmail@lists.RWTH-Aachen.DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic