tr Examples

tr Examples

tr - translate or delete characters 

tr [OPTION]... SET1 [SET2] 

-c: use the complement of SET1 
-d: delete characters in SET1, do not translate 
-s: replace each input sequence of a repeated character that is listed 
    in SET1 with a single occurrence of that character 
for further information see the manual page tr(1)

all examples assembled by andreas schmidt for the IC3K 2022 conference