cat

    cat command for MoonX.

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

    #cat

    Concatenate files or standard input through MoonX.

    #Usage

    moonx cli/cat first.txt second.txt moonx cli/cat -n input.txt printf 'hello\n' | moonx cli/cat

    Read operands in order, using stdin when no file is supplied or an operand is -. Write stdout; formatting state continues across files.

    #Common options

    OptionDescription
    -n, --numberNumber all lines.
    -b, --number-nonblankNumber nonempty lines; overrides -n.
    -s, --squeeze-blankCollapse repeated empty lines.
    -A, --show-allEquivalent to -vET.
    -h, --helpShow help.
    --versionShow the version.

    Use --help for the complete option list.

    #Notes

    • -b takes precedence over -n. Visible-character formatting works on bytes; -u is accepted as a no-op.

    See the compatibility guide for the supported profile.

    Source Files