{
"name": "tr",
"description": "Translate characters",
"options": [
{
"names": [
"-C"
],
"description": "Complement the set of characters in string1, that is '-C ab' includes every character except for 'a' and 'b'"
},
{
"names": [
"-c"
],
"description": "Same as '-C' but complement the set of values in string1"
},
{
"names": [
"-d"
],
"description": "Delete characters in string1 from the input"
},
{
"names": [
"-s"
],
"description": "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 translati"
},
{
"names": [
"-u"
],
"description": "Guarantee that any output is unbuffered"
}
],
"args": [
{
"name": "string1",
"description": "Candidate string",
"suggestions": [
"a",
"\\a",
"\\b",
"\\f",
"\\n",
"\\r",
"\\t",
"\\v",
"c-c",
"[:alnum:]",
"[:alpha:]",
"[:blank:]",
"[:cntrl:]",
"[:digit:]",
"[:graph:]",
"[:ideogram:]",
"[:lower:]",
"[:phonogram:]",
"[:print:]",
"[:punct:]",
"[:rune:]",
"[:space:]",
"[:special:]",
"[:upper:]",
"[:xdigit:]",
"[=equiv=]",
"[#*n]"
]
},
{
"name": "string2",
"description": "Replacment string",
"suggestions": [
"a",
"\\a",
"\\b",
"\\f",
"\\n",
"\\r",
"\\t",
"\\v",
"c-c",
"[:alnum:]",
"[:alpha:]",
"[:blank:]",
"[:cntrl:]",
"[:digit:]",
"[:graph:]",
"[:ideogram:]",
"[:lower:]",
"[:phonogram:]",
"[:print:]",
"[:punct:]",
"[:rune:]",
"[:space:]",
"[:special:]",
"[:upper:]",
"[:xdigit:]",
"[=equiv=]",
"[#*n]"
]
}
]
}