Version 0.2.2 behavior is documented here. Thesupport record separates local verification frompublished MoonX behavior; moonx examples use registry releases.
Copy standard input to standard output and each file operand. The observed-a/--append path appends instead of truncating files.--output-error=warn reports any failed output and continues the remainingoutputs. warn-nopipe ignores closed-pipe errors while retaining regular-fileerrors; bare --output-error and -p select this mode. exit stops at thefirst output error, while exit-nopipe ignores pipe failures and stops forother errors. An output that failed is disabled, and input consumption stopswhen no outputs remain. An open failure in an exit mode occurs before readingstdin; files already opened remain created or truncated.
The default mode continues after regular-file errors. On a broken output pipe,GNU normally terminates through SIGPIPE. The released runtime ignores SIGPIPEand has no public signal-raising API, so this particular default-mode errorreturns status 2 with an explicit unsupported-capability diagnostic. It stopsat the same failed sink and preserves earlier output effects. Use -p or anexplicit error mode for supported pipe-error handling. Native and Wasm testsexercise real closed OS pipes and regular files; the Windows error-numberbinding is additionally checked by its platform CI.Windows closed-pipe errors 109 and 232 select the same pipe-error modes. Failedopens are reported as Is a directory only after a public filesystem kindquery confirms the operand is a directory.
tee always reads stdin silently until EOF. Terminal, pipe, and redirectionpaths do not receive a repository-specific prompt.
Standalone --version prints exactly tee 0.2.2 followed by onenewline. Standalone --help starts with Usage: tee, 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.