fold

    fold command for MoonX.

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

    #fold

    Wrap text lines for MoonX.

    moonx cli/fold@0.1.4 [OPTION]... [FILE]...

    #Supported scope

    Wrap files or stdin at 80 columns by default, preserving bytes and an unterminated final line.

    #Options

    OptionDescription
    -b, --bytescount bytes rather than columns
    -c, --characterscount characters in the C-locale byte profile
    -s, --spacesbreak after the last available blank
    -w, --width=WIDTHuse WIDTH columns instead of 80
    --help / --versionShow help / package version.

    #Limitations

    • Character and display-width modes use the C-byte profile; multibyte Unicode counting is unsupported.

    #Examples

    moonx cli/fold@0.1.4 -w 72 notes.txt moonx cli/fold@0.1.4 -s -w 40 notes.txt

    FoldState

    type FoldState

    Powered by MoonBit

    Site sourceReport issueModulesSkillsBuild queueStatistics

    © 2026 mooncakes.io