LuKreme wrote:
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.
Do you have any other use for $VAR2? If the only reason you're doing
all this is to find out whether $VAR has any upper case letters (and
therefore would differ from $VAR2), then
:0D
* VAR ?? [A-Z]
action
will do the job without the shell call and without the tr call.
____________________________________________________________
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