Support note (2026-09-05): this README is supplementary. The support record is the only capability authority; it separates native compatibility evidence from Wasm policy and smoke evidence. Options mentioned here but not promoted in that record are not compatibility guarantees.
Concatenate files or stdin to stdout, byte-transparently:
Bytes pass through unmodified when no formatting option is selected. -n and-b number lines, -s squeezes repeated blank lines, and -A, -e, -E,-t, -T, and -v expose the common GNU visible-byte forms. Formattingstate is continuous across file operands, including an unterminated line at afile boundary. Use - (or no argument) to read stdin. -u/--unbuffered isaccepted as the GNU compatibility no-op; MoonBit writes through its byte streamwithout an additional user-space buffer.
With no file operand, the command silently reads stdin until EOF, matching theupstream terminal, pipe, redirection, and explicit - behavior.