linux capitalize string using tr code example
Example: 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
# 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