comm

    comm command for MoonX.

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

    #comm

    Compare sorted text files for MoonX.

    moonx cli/comm@0.2.4 [-123] [-z] FILE1 FILE2

    #Supported scope

    Print records unique to the first file, unique to the second, and common to both. Use - for stdin; inputs must use C-byte sort order.

    #Options

    OptionDescription
    -1Suppress column 1 (lines unique to FILE1).
    -2Suppress column 2 (lines unique to FILE2).
    -3Suppress column 3 (lines in both files).
    --output-delimiter=STRSeparate columns with STR (empty means NUL).
    --totalPrint counts for all three columns and a total label.
    --check-orderDiagnose unsorted input.
    --nocheck-orderDo not diagnose unsorted input.
    -z, --zero-terminatedEnd records with NUL instead of newline.
    --help / --versionShow help / package version.

    #Limitations

    • Locale-dependent collation is unsupported.
    • Default order checking is conditional; use --check-order to reject disorder immediately.

    #Examples

    moonx cli/comm@0.2.4 left.txt right.txt moonx cli/comm@0.2.4 -12 left.txt right.txt

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io