FrontPage > UNIX > tr
文字の変換・削除、連続文字の圧縮
$ echo 'hoge hage' | tr 'hage' 'hoge' hoge hoge
$ echo 'a b' | tr -s ' ' a b
なし