shell中大小写转换 shell中转换大小写转换

 

echo 'hello' | tr 'a-z' 'A-Z'

echo 'HELLO' | tr 'A-Z' 'a-z'