~/tr(1)
en
NAME
tr - swap one set of characters for another
SYNOPSIS
tr [-d] set1 [set2]
DESCRIPTION
Reads standard input and writes it back with the characters in the first set
turned into the ones in the second, position by position. Ranges are written
a-z. A second set shorter than the first is padded with its own last
character, which is what tr does with one.
It reads standard input and nothing else, the way tr always has: give it a file through a pipe.
OPTIONS
- -d
- delete the characters in set1 rather than replacing them
EXAMPLES
echo hello | tr a-z A-Z
cat about.md | tr -d aeiou