cat

    cat command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.1
    License
    Apache-2.0
    Last updated
    13 days ago
    Downloads
    12

    Dependencies

    #cat for moonx

    Concatenate files or stdin to stdout, byte-transparently:

    moonx cli/cat a.txt b.txt printf '\x00\xff' | moonx cli/cat | moonx cli/xxd -p # 00ff

    Bytes pass through unmodified — no UTF-8 decoding and no newline normalization, so binary data is safe. Use - (or no argument) to read stdin. No formatting flags.

    With no file operand, an interactive terminal receives an EOF waiting prompt; piped, redirected, and explicit - input remain silent.

    Source Files