Convert 'a' to 'A' in a Shell-Script

Mike Faber sleepy at wybbs.mi.org
Tue Feb 5 01:18:09 AEST 1991


>>How can I convert "lowercase" characters in "uppercase" characters
>>in a Shell-Script.
>>f.e. convert all 'a' to 'A' ?
>/usr/bin/tr works well for me.  Use the syntax:  tr "[a-z]" "[A-Z]"

Good item for FAQ.



More information about the Comp.unix.questions mailing list