Version 0.2.1 behavior is documented here. Thesupport record separates local verification frompublished MoonX behavior; moonx examples use registry releases.
Options: -n N first N records (default 10), -c N first N bytes, and-q/-v header control. -z makes line records NUL-terminated. Count valuesaccept attached, separate, and long-option forms, the legacy -NUM spelling,negative counts to exclude the last NUM units, an explicit +NUM, anddocumented decimal, short binary, and IEC (KiB through QiB) size suffixes.The obsolete first-argument form supports its documented b/k/m units andc/l/q/v modifiers. The last -n/-c and -q/-v occurrence controlsits mode.
Positive prefixes stop after the requested quota. Negative record counts keeponly the excluded suffix in memory; negative byte counts keep at most therequested suffix plus one input chunk.
With no file operand, the command silently reads stdin until EOF or the quotais satisfied; terminal, pipe, redirection, and explicit - paths are clean.
Standalone --version prints exactly head 0.2.1 followed by onenewline. Standalone --help starts with Usage: head, 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.