tee

    tee command for MoonX.

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

    #tee

    Copy stdin to files and stdout for MoonX.

    moonx cli/tee@0.2.3 [-ap] [--output-error[=MODE]] [FILE...]

    #Supported scope

    Write each input byte to stdout and every file operand. Select append and output-error behavior explicitly.

    #Options

    OptionDescription
    -a, --appendAppend instead of truncating files.
    -pIgnore pipe errors while reporting other output errors.
    --output-error[=MODE]Modes: warn, warn-nopipe, exit, exit-nopipe; bare flag selects warn-nopipe.
    --help / --versionShow help / package version.

    #Limitations

    • Default broken-pipe handling reports unsupported capability with status 2 instead of raising SIGPIPE. Use -p or an explicit error mode.

    #Examples

    printf 'hello\n' | moonx cli/tee@0.2.3 output.txt moonx cli/tee@0.2.3 -a output.txt < extra.txt

    Source Files