unexpand

    unexpand command for MoonX.

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

    #unexpand

    Convert spaces to tabs for MoonX.

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

    #Supported scope

    Read files or stdin and replace eligible blanks with tabs. Default tab width is eight; default conversion affects leading blanks only.

    #Options

    OptionDescription
    -a, --allConvert blanks throughout each record.
    -t, --tabs=LISTSelect ascending stops; implies --all. Final /N or +N extends stops.
    --first-onlyConvert leading blanks only, overriding -a and -t.
    --help / --versionShow help / package version.

    #Limitations

    • Uses byte columns, not locale-dependent Unicode display widths.

    #Examples

    moonx cli/unexpand@0.1.4 -t 4 notes.txt moonx cli/unexpand@0.1.4 -a notes.txt

    Source Files