rev

    rev command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.6
    License
    Apache-2.0
    Last updated
    10 hours ago
    Downloads
    88

    #rev

    Reverse each input record for MoonX.

    moonx cli/rev@0.1.6 [OPTION]... [FILE]...

    #Supported scope

    Read files or stdin and reverse each record, retaining its terminator.

    #Options

    OptionDescription
    --help / --versionShow help / package version.

    #Limitations

    The local development candidate batches ASCII validation and reversal into a fixed 64 KiB output buffer; cross-chunk records still require longest-record storage.

    • The supported C profile rejects non-ASCII records. Memory grows with the longest record.
    • An explicit - is a filename, not stdin; omit file operands to read stdin.

    #Examples

    printf 'abc\n' | moonx cli/rev@0.1.6 moonx cli/rev@0.1.6 notes.txt

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io