procmail
[Top] [All Lists]

Re: If VAR != VAR2

2008-01-09 07:58:38

On 9-Jan-2008, at 02:49, Ruud H.G. van Tol wrote:

D E Hammond schreef:

 :0 D
 * $ ! VAR ?? ^^$\VAR2^^

Ah, good that you add the ^^...^^ around, I thought about them but  
just
forgot to type them.

Well, in theory, yes.  But since VAR2 is defined as simply

VAR2=`echo $VAR | tr "[:upper:]" "[:lower:]"`

I don't think there is any reason for the anchors.

Or the \VAR2 really.

* $ ! VAR ?? $VAR2

would be fine.

-- 
"Two years from now, spam will be solved,"  -- Bill Gates, January, 2004


____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail

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