procmail
[Top] [All Lists]

Re: Using booleans to trigger a nested procedure?

1997-01-19 22:17:03
Quoth Philip Guenther <guenther(_at_)gac(_dot_)edu>:

:0 c
* FEATURE ?? on
{
   # stuff
}

Note that everything to the right of the ?? is a regexp still, so if
you want to test for FEATURE containing exactly "on" you should write:

:0 c
* FEATURE ?? ^^on^^
{
   # stuff
}


With the '^^'s anchoring the very beginning and end of the value of
FEATURE's value.

That's the ticket!  Thanks.
 
--
|We have tried ignorance for/      Tom Betz      (914) 375-1510        |
|a very long time, and it's/  Want to sent me email? Read this first:  |
|time we tried education. /<http://www.panix.com/~tbetz/mailterms.html>|
|<http://www.pobox.com/~tbetz>\ I mock up my reactive mind twice daily.|

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