Med-o-Mash
Med-o-Mash @medmash_ ·
The tr -s (squeeze) command in Linux only deletes adjacent repeated characters. It won't touch duplicates separated by other letters echo "aaabbbccc" | tr -s ab ➔ abccc (Squeezed!) cho "abcabcabc" | tr -s ab ➔ abcabcabc (No change!) #Linux #Bash #CommandLine
1
12