Title: Theory / Unimportant / CS / command line / text streaming / tr;
Tags: computer_to_instruction fromCommandLine hasNotNewEffectReturnsMeaning

Page: https://man.cx/man
Effect: translate or delete characters
Abbreviation: tr

Fla: --complement SET1
Effect: use the complement of SET1
Page: https://man.cx/man
Prefix: tr
Flag abbreviation: -c, -C

Fla: --delete SET1
Effect: delete characters in SET1, do not translate
Page: https://man.cx/man
Prefix: tr
Flag abbreviation: -d

Fla: --squeeze-repeats
Effect: replace each sequence of a repeated character that is listed in the last specified SET, with a single occurrence of that character
Page: https://man.cx/man
Prefix: tr SET_1 ... SET_n
Flag abbreviation: -s

Fla: --truncate-set1 SET_1 SET_2
Effect: first truncate SET1 to length of SET2
Page: https://man.cx/man
Prefix: tr
Flag abbreviation: -t

Fla: --help
Effect: display this help and exit
Page: https://man.cx/man
Prefix: tr SET_1 [SET_2]

Fla: --version
Effect: output version information and exit
Page: https://man.cx/man
Prefix: tr SET_1 [SET_2]