procmail
[Top] [All Lists]

Re: novice question

1997-08-13 19:06:00
era eriksson <era(_at_)iki(_dot_)fi> writes:
...
Here's an interesting generalization which will read either of the two
rc files, but only one of them, that is, the one that matches first
(Procmail scans the body top to bottom, left to right): 

   :0B
   * \/(abcxyz|thistext)
   { INCLUDERC=$MATCH }

That would be:

        :0
        * ()\/(abcxyz|thistext)
        { INCLUDERC = $MATCH }

You need the parens to protect the leading backslash from being ignored.


Philip Guenther

<Prev in Thread] Current Thread [Next in Thread>