Answers for "linux capitalize string using tr"

3

linux capitalize string using tr

# 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
Posted by: Guest on June-12-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language