>_ linuxcommand.dev
Text Processing

tr

Translate or delete characters from input.

Syntax
$tr [OPTIONS] SET1 [SET2]
Examples
Examples
$tr a-z A-Z
Examples
$tr -d '0-9'
Typical use cases
Upper/lower case
tr a-z A-Z
Delete digits
tr -d '0-9'
Squeeze repeats
tr -s ' '
Note Useful for case conversion and deletion.
Export