wc

    wc command for MoonX.

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

    Dependencies

    #wc for moonx

    Count lines, words, and bytes without installing anything:

    printf 'one two\nthree\n' | moonx cli/wc moonx cli/wc -l notes.txt

    Options: -l lines, -w words, -c bytes, -m UTF-8 characters. With no flags it prints lines, words, and bytes. Counts are separated by single spaces (not column-aligned like GNU wc). Multiple files get a total row.

    With no file operand, an interactive terminal receives an EOF waiting prompt; piped and redirected input remain silent.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io