At 19:32 2002-01-29 +0200, nimrod cohen did say:
How can I change a recipient name from capslock? to all small
You really should provide some context for this query.
Try 'man tr', which would lead you in short order to this sort of
demonstration at the shell:
echo HELLO | tr [A-Z] [a-z]
Thus, if you had this recipient name in a procmail variable:
LOWNAME=`echo $UPNAME | tr [A-Z] [a-z]`
You could redirect the output of formail into tr instead. Now, you could
use $LOWNAME, perhaps in a formail invocation to rewrite a header - or
perhaps you're converting the address for some other purpose. I dunno,
since you provided no base framework.
Sean B. Straw / Professional Software Engineering
Procmail disclaimer: <http://www.professional.org/procmail/disclaimer.html>
Please DO NOT carbon me on list replies. I'll get my copy from the list.
procmail mailing list