procmail
[Top] [All Lists]

Re: If VAR != VAR2

2008-01-10 15:33:21
On 10-Jan-2008, at 13:08, Ruud H.G. van Tol wrote:
     LOG="Translated $USER1 to $USER$NL"

Yeah, I didn't paste it in right.  I log "Translated $USER to  
lowercase" instead of mucking about with the USER1 variable at all.

:0D
* USER ?? [A-Z]
{
    USER=`echo $USER | tr "[:upper:]" "[:lower:]"`
    LOG="Translated $USER to lowercase$NL"
}

-- 
There is no Satan.  That's just god when he's drunk.


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