Sign in

    gunzip

    gunzip command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.0
    License
    Apache-2.0
    Last updated
    14 days ago
    Downloads
    46

    #gunzip

    Version 0.1.0 is a local candidate. The support record distinguishes workspace checks from published MoonX behavior; the examples become available after publication.

    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.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io