head

    head command for MoonX.

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

    #head

    Print the beginning of inputs for MoonX.

    moonx cli/head@0.2.4 [-qvz] [-n NUM|-c NUM] [FILE...]

    #Supported scope

    Print the first ten lines by default. Read files or stdin; negative counts omit the last N units instead.

    #Options

    OptionDescription
    -n, --lines=NSelect N records.
    -c, --bytes=NSelect N bytes.
    -q, --quiet, --silentSuppress file headers.
    -v, --verboseAlways show file headers.
    -z, --zero-terminatedUse NUL-delimited records.
    --help / --versionShow help / package version.

    #Limitations

    • Counts measure bytes or records, not Unicode characters. Negative counts may retain the excluded suffix in memory.

    #Examples

    moonx cli/head@0.2.4 -n 5 notes.txt moonx cli/head@0.2.4 -c 16 data.bin

    Source Files

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io