tr A-Z a-z

Julien Gabel jpeg at
Sat May 8 15:18:34 PDT 2004

>> Strange: I was used to do upper case lower case conversion always like
>> this and it suddenly doesn't work anymore:
>> $ echo Z | tr "[A-Z]" "[a-z]"

You can use special classes in this case too:
 $ echo "Zz" | tr [:upper:] [:lower:]


More information about the freebsd-questions mailing list