uniq

    uniq command for MoonX.

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

    Dependencies

    #uniq for moonx

    Filter adjacent repeated lines (pipe through sort first for global dedup):

    sort words.txt | moonx cli/uniq printf 'a\na\nb\n' | moonx cli/uniq -c

    Options: -c prefix occurrence counts, -d only repeated lines, -u only unrepeated lines, -i case-insensitive comparison.

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

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io