Version 0.2.2 behavior is documented here. Thesupport record separates local verification frompublished MoonX behavior; moonx examples use registry releases.
Read arguments from standard input and execute a command with bounded batches.Supports whitespace tokenization with quotes/backslashes, byte tokenizationwith -0 or -d CHAR / --delimiter=CHAR, and -n N(--max-args=N), -L N/--max-lines=N, -s BYTES/--max-chars=BYTES,-E EOF/--eof=EOF, -r/--no-run-if-empty, -t/--verbose,--show-limits, and -I REPLACE/--replace=REPLACE logical-linereplacement. Each child argv batch is kept below the configured limit (64 KiBby default), and -P N runs at most N batches in one structured task window.There is no shell evaluation; all children are direct process requests. Wasmhosts may require process authorization supplied by the caller.
Status classes match findutils for ordinary failures (123), status 255 (124),signals (125), and launch failures (126/127). Parallel output ordering isintentionally unspecified, but status aggregation is deterministic. Theruntime does not expose portable process-group cancellation.
Both backends inherit the complete caller environment; authorization belongsto the host or caller. Environment names and locale variables are not filteredor rewritten by this command.xargs always reads stdin silently until EOF, including on a terminal. Nativebehavior is measured separately from Wasm host authorization.
Delimiter mode preserves empty items, treats quotes/backslashes in inputliterally, and accepts one byte or a GNU named, octal, or hexadecimal escape.The last -0 / -d wins. -E has no effect in either byte mode and emits theGNU warning. The selected immutable findutils oracle uses signed char, sodelimiter bytes above 127 do not match input bytes; valid UTF-8 items stillwork. A raw non-UTF-8 argument prefix cannot cross the public process API'sString argv and is rejected with status 2 before any child is launched.Bytes after a NUL inside an item are excluded from its C argv string but stillcount toward the byte limit.
-p / --interactive opens a separate confirmation input (/dev/tty onPOSIX, CONIN$ on Windows), leaving argument stdin separate. Each proposedcommand is printed on stderr; a line starting with y or Y accepts it inthe C locale. If that channel cannot be opened, the command returns status 2before consuming argument stdin or launching children. This explicit boundaryalso applies to -p -r with empty input; GNU may exit before opening its TTY inthat case. When the channel opens, empty -p -r input exits 0 without promptingor launching a child. Windows CI can provide CONIN$ even when nobody isavailable to answer, so a nonempty interactive request correctly waits forconfirmation. Confirmation choices are exercised with the existing separateinput tests; unattended CLI cases do not assume a missing Windows console.
Standalone --version prints exactly xargs 0.2.2 followed by onenewline. Standalone --help starts with Usage: xargs, lists bothmetadata options, and ends with a newline. Both write to stdout, leave stdinunread, and exit with status 0. Exact-version publication and verificationremain recorded separately in the support record.