-c/--stdout keeps input files, -t/--test verifies without output, and-d/--decompress explicitly selects the default decoding operation.-n/--no-name is accepted; stdout decoding never restores saved metadata.Multiple files and - operands are processed in order.-1 through -9, --fast and --best are accepted and ignored bydecompression and testing; they do not change this command into a compressor.
Concatenated gzip members and optional name, extra and comment fields areaccepted. Header CRC, data CRC and uncompressed size are checked. A late formaterror returns 1 without retracting bytes already written. Trailing garbagereturns 2 with a warning; -q/--quiet suppresses that warning. The commandstreams compressed input through 64 KiB input/output buffers, a 32 KiB historywindow and bounded main/secondary Huffman tables. It does not retain wholecompressed input or decoded output. The sharedgzip encoder now uses 32 KiB LZ history, 3–258 byte matches,64 KiB input chunks and stored/fixed/dynamic block selection. The G1 frontendGNU cases pass on Native and Wasm; performance acceptance remains pending. See theG1 development report.The G2 report records thestreaming decoder's byte/error checks and resource observations.
Named-file replacement without -c is rejected. Other compression formats,force/pass-through behavior, metadata restoration, recursive operation andlisting are not implemented. Use --help or --version for command information.
Standalone --version prints exactly gunzip 0.1.2 followed by onenewline. Standalone --help starts with Usage: gunzip, 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.