Skip to content

tr


NAME
     tr - translate characters

SYNOPSIS
     tr [-d] set1 [set2]

DESCRIPTION
     Read standard input and translate characters in set1 to the
     corresponding character in set2. Ranges are written a-z.

     -d deletes the characters in set1 instead.

EXAMPLES
     cat notes | tr a-z A-Z
     cat file | tr -d 0123456789

SEE ALSO
     sed(1), cut(1)