tr

tr command for MoonX.

command-line
moonx
wasm
Download zip
Author
Version
0.1.0
License
Apache-2.0
Last updated
16 hours ago
Downloads
2

Dependencies

#tr for moonx

Translate, squeeze, or delete bytes read from stdin:

printf 'hello' | moonx cli/tr 'a-z' 'A-Z' printf 'a b' | moonx cli/tr -s ' ' moonx cli/tr -d '\n' < file.txt

Options: -d delete SET1 bytes, -s squeeze repeats, -c complement SET1. Sets support escapes (\n, \t, ...), byte ranges (a-z), and the classes [:lower:], [:upper:], [:digit:], [:alpha:], [:alnum:], [:space:], [:xdigit:]. Operates on bytes; set characters must be Latin-1.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io