tr command for MoonX.
printf 'hello\n' | moonx cli/tr 'a-z' 'A-Z'
printf 'a b\n' | moonx cli/tr -s ' '| Option | Description |
|---|---|
| -d, --delete | Delete SET1 bytes. |
| -s, --squeeze-repeats | Collapse repeated selected bytes. |
| -c, --complement | Complement SET1. |
| -C | Complement the first set. |
| -t, --truncate-set1 | Truncate SET1 to SET2's length. |
| --help | Show help. |
| --version | Show the version. |