tac

    tac command for MoonX.

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

    #tac

    Print records in reverse order through MoonX.

    #Usage

    moonx cli/tac input.txt printf 'one\ntwo\n' | moonx cli/tac moonx cli/tac -s : input.txt

    Use newline separators by default. Fixed-string mode reads backwards from files and spools non-seekable input.

    #Common options

    OptionDescription
    -b, --beforeAttach separators to the following record.
    -s VALUE, --separator VALUESet a separator; empty fixed separator means NUL. Default: "\n".
    -r, --regexInterpret the separator using GNU Emacs byte regex syntax.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Regex separators use the supported C-locale Emacs-style grammar and retain the entire input, subject to Int32 size limits.

    See the compatibility guide for the supported profile.

    Source Files