[Linux-disciples] wild cards question

Adam Kessel adam at bostoncoop.net
Thu Mar 9 14:56:44 EST 2006


Jamie Forrest wrote:
> if i have the following two statements in my .procmailrc file:
> 
> * !(To|Cc).*jamie at curdnerd.com
> * !(To|Cc).*jamie at curdnerds.com
> 
> can i merge those into one statement by doing the following?
> * !(To|Cc).*jamie at curdnerd*.com

I think what you want is:
* !(To|Cc).*jamie at curdnerds?.com

That should work. These are regexp wildcards, not globbing wildcards (the
latter of which more closely resemble 'DOS' wildcards that you might know
from before).


More information about the Linux-disciples mailing list