If you wanna exchange between the upper case of one string and the lower case, you could use the command
echo "ThisIsAnExample" | tr 'a-z' 'A-Z'
and
echo "ThisIsAnExample" | tr 'A-Z' 'a-z'
Tuesday, April 24, 2007
Linux:shell: how to exchange case of letters
Labels:
command,
linux,
lower case,
shell,
tr,
upper case
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment