comm

    comm command for MoonX.

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

    Dependencies

    #comm for moonx

    Support note (2026-09-05): this README is supplementary. The support record is the only capability authority; it separates native compatibility evidence from Wasm policy and smoke evidence. Options mentioned here but not promoted in that record are not compatibility guarantees.

    Compare two sorted files line by line, producing three columns: lines only in FILE1, lines only in FILE2 (one leading TAB), and common lines (two leading TABs):

    moonx cli/comm left.txt right.txt moonx cli/comm -12 left.txt right.txt # only common lines

    Options: -1, -2, -3 suppress the corresponding column (combinable as -12, -23, ...). Use - to read stdin. Records are compared as raw bytes, matching LC_ALL=C order. --check-order reports an unsorted input and exits nonzero. By default, disorder is diagnosed once unpairable input is observed, matching GNU's conditional check. -z reads and writes NUL-delimited records; --nocheck-order explicitly selects permissive order handling whenever both order flags are present.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io