📜  linux 使用 tr 大写字符串 - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:37.937000             🧑  作者: Mango

代码示例1
# capitalize a raw string 'abc' 
echo abc | tr a-z A-Z
ABC
# capitalize text from file 'hello_world.text' 
tr a-z A-Z < hello_world.text
HELLO WORLD