All apps/tr

tr

tr

Translates, squeezes or deletes characters from standard input.

Runs as tr|macOS, Linux, Windows

Command form

ai-draft · 2 tasks · 6 fields

Translate, delete or squeeze characters read from standard input.

Opens the form; the finished command lands at your prompt, unrun
otty gui tr
Translate charactersExample values, fixed in this page — nothing here reaches a terminal
Basic
String 1*
string
String 2*
string
Complement set 1
-C
TasksEach one presets the form for one job
Translate
string1string2complement
Delete characters
string1deletecomplement
ParametersOnly these flags are editable in the form
Complement set 1
Use every character except those in string 1.
boolean
-C
Delete
Delete characters in string 1 from the input.
boolean
-d
Squeeze repeats
boolean
-s
Unbuffered output
boolean
-u
String 1
string · positional 0
[:lower:][:upper:][:alnum:][:digit:][:blank:]
String 2
Replacement characters; omit when deleting.
string · positional 1
SourcesEvery flag above is checked against these
fig
completion

github.com

Before it fills your prompt, Otty checks the installed tr against its version. A form that does not match your version is not offered.