Search notes:

Shell command: tr

tr translates or deletes characters.
tr can be used, for example to write each component (directory) of $PATH on a single line.
tr : '\n' <<<$PATH
(S.a. the paths script).
Make all characters lower or upper case:
$ echo Hello World | tr '[:lower:]' '[:upper:]'
HELLO WORLD

$ echo Hello World | tr '[:upper:]' '[:lower:]'
hello world

Links

https://github.com/ReneNyffenegger/shell-commands/tree/master/tr

See also

Shell commands

Index