procmail
[Top] [All Lists]

Re: case insensitive $MATCH

2005-04-10 06:25:13
On Sun, 10 Apr 2005 09:05 pm, Michelle Konzack wrote:
Am 2005-04-10 17:49:50, schrieb Troy Piggins:
So the question is - is there a way to extract the match out of the
first condition, then make lower case if not already, to deliver to
the intended mbox?

Do not know the syntax of 'tr' but it is much shorter  :-)

TMATCH=`echo $MATCH |tr [:upper:] [:lower:]`

should do the trick.

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