xxd

xxd command for MoonX.

command-line
moonx
wasm
Download zip
Author
Version
0.1.1
License
Apache-2.0
Last updated
21 hours ago
Downloads
6

Dependencies

#xxd for moonx

Make a hex dump, or reverse one back into bytes:

printf 'hello' | moonx cli/xxd moonx cli/xxd -p data.bin # plain continuous hex moonx cli/xxd -r dump.txt > out.bin # reverse a dump printf '68690a' | moonx cli/xxd -r -p

Options: -p plain hex, -r reverse (with or without -p), -c N bytes per line (default 16, or 30 with -p), -l N stop after N bytes. Reverse mode ignores offsets and concatenates the hex columns in order.

With no file operand, an interactive terminal receives an EOF waiting prompt; piped, redirected, and explicit - input remain silent.

Source Files

Powered by MoonBit

Site sourceReport issuePackagesBuild queueSkillsStatistics

© 2026 mooncakes.io