Alle Befehle
tr
Thema: Text
Programm: tr
Ersetzt oder löscht Zeichen.
Paket: text-tools
Aufruf
tr [OPTION]... SET1 [SET2]
Beschreibung
Read the keyboard or pipe and replace each byte of SET1 with the byte at the same place in SET2, or remove or squeeze them. SETs know ranges like a-z, classes like [:lower:] and \n for a newline.
Optionen im Simulator
-
-c, --complement use every byte that is not in SET1, in order -
-C the same as -c -
-d, --delete remove the bytes in SET1 instead of replacing them -
-s, --squeeze-repeats squeeze a run of the same byte from the last SET into one -
--help show this help and exit
2 weitere Optionen des echten Programms, im Simulator noch nicht
-
-t, --truncate-set1 im Simulator noch nicht Im echten Linux kürzt die Option die erste Menge auf die Länge der zweiten, statt die zweite aufzufüllen.
-
--version im Simulator noch nicht Im echten Linux zeigt die Option die Version des Programms.
Wo du ihn lernst
Noch in keiner Lektion.
Alle Befehle