How does tr SET1 SET2 translate text?
tr SET1 SET2
It appends both character sets to the input text.
It replaces complete words only when both sets contain the same word.
It replaces each character from SET1 with the character at the same position in SET2.
SET1
SET2
It sorts every line according to the order of SET2.