tr -- translate or delete characters


tr is as specified in the Single UNIX Specification but with differences as listed below.

LSB Deprecated Differences

The behaviors specified in this section are expected to disappear from a future version of the LSB; applications should only use the non-LSB-deprecated behaviors.


is equivalent to -c.


is equivalent to -d.


is equivalent to -s.

-t, --truncate-set1

first truncates SET1 to length of SET2.


outputs version information and exits.