zcat

    zcat command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.4
    License
    Apache-2.0
    Last updated
    10 hours ago
    Downloads
    71

    #zcat

    Write decompressed gzip data for MoonX.

    moonx cli/zcat@0.1.4 [OPTION]... [FILE]...

    #Supported scope

    Decode files or stdin to stdout, retaining input files. Supports concatenated members and checksum/size verification.

    #Options

    OptionDescription
    -c, --stdoutWrite to stdout and keep input files.
    -d, --decompressDecompress (default for gunzip and zcat).
    -t, --testValidate compressed input without output.
    -n, --no-nameOmit name/time metadata when compressing.
    -q, --quietSuppress trailing-garbage warnings.
    -1 .. -9Compression level (default: -6; last option wins).
    --fastSame as -1.
    --bestSame as -9.
    --help / --versionShow help / package version.

    #Limitations

    • Only gzip is supported; no suffix searching, force/pass-through or metadata restoration.
    • Invalid input returns 1 after any decoded prefix; trailing garbage returns 2.

    #Examples

    moonx cli/zcat@0.1.4 first.gz second.gz moonx cli/zcat@0.1.4 < first.gz

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io