Introduction
The tr command changes or deletes characters in text. It helps fix or clean text quickly.
You want to change all lowercase letters to uppercase in a file.
You need to remove all digits from a text stream.
You want to replace spaces with underscores in a filename.
You want to delete all punctuation marks from a sentence.
You want to squeeze repeated characters into one (like multiple spaces into one).