Sign in

    rev

    rev command for MoonX.

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

    #rev

    Version 0.1.1 behavior is documented here. The support record separates local verification from published MoonX behavior; moonx examples use registry releases.

    Reverse each input line byte-for-byte:

    printf 'abc\n' | moonx cli/rev moonx cli/rev input.txt

    Line-feed bytes and the absence of a final line feed are preserved. Input is standard input or one file operand; multiple files are rejected. The profile uses C-locale byte semantics, so non-UTF-8 input is handled without decoding it; multibyte locale character semantics are not claimed.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io