All apps/tr

tr

tr

Translates, squeezes or deletes characters from standard input.

Runs as tr|macOS, Linux, Windows

Autocomplete

Fig spec, with what the manifest adds · 5 options
Published once and never changed; check the digest before caching
sha256
45fadd81b6a712bd1d242f594f2aff4180e7f819a78e12707ad02209f79a0537
Size
2277 bytes
OptionsOn tr itself
-C
Complement the set of characters in string1, that is '-C ab' includes every character except for 'a' and 'b'
-c
Same as '-C' but complement the set of values in string1
-d
Delete characters in string1 from the input
-s
Squeeze multiple occurrences of the characters listed in the last operand (either string1 or string2) in the input into a single instance of the character. This occurs after all deletion and translation is completed
-u
Guarantee that any output is unbuffered
ArgumentsPositional, in order
<string1>
Candidate string
<string2>
Replacment string · optional