The tr command, short for translate, translates, deletes, or squeezes characters read from stdin. It does not accept ordinary input-file operands, so use a pipe or input redirection to provide data.
Text-Fu · Lesson 13
tr (Translate)
Learn how to translate, delete, and squeeze character sets in a standard input stream.