Sign in

    cmp

    cmp command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.2.1
    License
    Apache-2.0
    Last updated
    8 hours ago
    Downloads
    35

    Dependencies

    #cmp

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

    Compare two inputs byte by byte. Supports silent mode (-s), listing every difference (-l), a byte limit (-n), and independent initial skips (-i). When FILE2 is omitted it defaults to stdin; -l and -s are rejected when combined. Exit statuses are 0 for equal, 1 for different, and 2 for an error. Comparison and status selection remain byte-oriented under LC_ALL=C, and an error takes precedence over a difference that could not be fully examined.

    #Standalone metadata

    Standalone --version prints exactly cmp 0.2.1 followed by one newline. Standalone --help starts with Usage: cmp, lists both metadata options, and ends with a newline. Both write to stdout, leave stdin unread, and exit with status 0. Exact-version publication and verification remain recorded separately in the support record.

    Source Files

    Powered by MoonBit

    Site sourceReport issuePackagesBuild queueSkillsStatistics

    © 2026 mooncakes.io