procmail
[Top] [All Lists]

Re: If VAR != VAR2

2008-01-09 02:49:44
On 9-Jan-2008, at 01:20, Ruud H.G. van Tol wrote:
LuKreme schreef:

I want to compare to variables and see if they are identical,
including case.  I thought this might do it:

:0
* ! VAR ?? $VAR2

  :0D
  *$ ! VAR ?? $\VAR2
  { ... }

Ah.. yes, that does look a lot more sensible.

Thanks.  And thanks to D E Hammond too for coming up with almost the  
same thing

On 9-Jan-2008, at 01:36, D E Hammond wrote:
 :0 D
 * $ ! VAR ?? ^^$\VAR2^^


-- 
There are strange things done in the midnight sun/By the men who moil  
for gold;
The Arctic trails have their secret tales/That would make your blood  
run cold;
The Northern Lights have seen queer sights,/But the queerest they ever  
did see
Was the night on the marge of Lake Lebarge/I cremated Sam McGee


____________________________________________________________
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>