tr (target)
Translate, squeeze, or delete characters (POSIX, toybox)
Syntax:
tr [-cds] set1 [set2]
Runs on:
QNX OS
Options:
- -c, -C
- Take complement of set1.
- -d
- Delete input characters coded set1.
- -s
- Squeeze multiple output characters of set2 into one character.
- set1
- The name of the first set of characters.
- set2
- The name of the second set of characters.
Description:
The tr utility translates, squeezes, or deletes characters from stdin and writes to stdout.
This utility is provided as part of the toybox package. For information on how to enable it, see toybox.
Contributing author:
Rob Landley and the toybox project (see https://landley.net/toybox/).
Page updated: