Sign in

    gunzip

    gunzip command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.1
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    22

    Dependencies

    #gunzip

    Version 0.1.1 behavior is documented here. The support record separates local verification from published MoonX behavior; moonx examples use registry releases.

    Decode gzip data from stdin, or write named compressed files to stdout with -c:

    moonx cli/gunzip -c notes.txt.gz moonx cli/gunzip -t notes.txt.gz cat notes.txt.gz | moonx cli/gunzip

    -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.

    Concatenated gzip members and optional name, extra and comment fields are accepted. Header CRC, data CRC and uncompressed size are checked. A late format error returns 1 without retracting bytes already written. Trailing garbage returns 2 with a warning; -q/--quiet suppresses that warning. Compressed input is buffered, while decoded output is written in chunks.

    Named-file replacement without -c is rejected. Other compression formats, force/pass-through behavior, metadata restoration, recursive operation and listing are not implemented. Use --help or --version for command information.

    #Standalone metadata

    Standalone --version prints exactly gunzip 0.1.1 followed by one newline. Standalone --help starts with Usage: gunzip, lists both metadata options, and ends with a newline. Both write to stdout, leave stdin unread, and exit with status 0. Exact-version publication and verification remain recorded separately in the support record.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io