Version 0.1.2 behavior is documented here. Thesupport record tracks platform verification andexact-version publication evidence separately. The earlier publishedcli/zcat@0.1.1 retains its recorded profile.
Write the decoded contents of gzip files to stdout, keeping the input files:
With no file or with -, read stdin. Operands are processed in order. -c and-d explicitly select the default stdout/decompression behavior; -t validateswithout output. -n is accepted because stdout output never restores metadata.-1 through -9, --fast and --best are accepted and ignored bydecompression and testing.
Concatenated members, optional header fields and CRC/size checks follow thesame gzip behavior as gunzip. Input and output stream through64 KiB buffers, a 32 KiB history window and bounded main/secondary Huffman tables.Invalid or truncated data returns 1, preserving anydecoded prefix; trailing garbage returns 2. -q suppresses trailing-garbagewarnings, and --help/--version provide command information.The shared encoder uses pure MoonBit 32 KiB LZhistory, 3–258 byte matches, 64 KiB chunks and stored/fixed/dynamic cost selection.The G1 frontend GNU cases pass on Native and Wasm; performance acceptanceremains pending. See theG1 development report.The G2 report records streamingbyte/error checks, direct timings and memory observations.
Only gzip input is accepted. Other compression formats, filename suffixsearching, force/pass-through behavior and metadata restoration are not supported.
Standalone --version prints exactly zcat 0.1.2 followed by onenewline. Standalone --help starts with Usage: zcat, 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.