tr

转换文本字符

语法

tr [OPTION]… SET1 [SET2]

示例

  • cat Dockerfile|tr ‘t’ ‘@’
  • cat Dockerfile|tr -d ‘t’