tr

Translate text characters

Syntax

tr [OPTION]… SET1 [SET2]

Example

  • cat Dockerfile|tr ‘t’ ‘@’

  • cat Dockerfile|tr -d ‘t’