zcat

    zcat command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.3
    License
    Apache-2.0
    Last updated
    9 days ago
    Downloads
    103

    #zcat

    Write decompressed gzip data for MoonX.

    moonx cli/zcat@0.1.3 [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.3 first.gz second.gz moonx cli/zcat@0.1.3 < first.gz

    Source Files