unexpand

    unexpand command for MoonX.

    command-line
    moonx
    wasm
    Download zip
    Author
    Version
    0.1.9
    License
    Apache-2.0
    Last updated
    14 hours ago
    Downloads
    186

    #unexpand

    Replace spaces with tabs through MoonX.

    #Usage

    moonx cli/unexpand input.txt moonx cli/unexpand -a -t 4 input.txt

    Convert leading blanks by default; -a also converts later blanks. The default tab interval is eight columns.

    #Common options

    OptionDescription
    -a, --allConvert blanks throughout each record.
    --first-onlyConvert leading blanks only, overriding -a and -t.
    -t VALUE, --tabs VALUESelect ascending stops; implies --all. Final /N or +N extends stops. Default: 8.
    --helpShow help.
    --versionShow the version.

    #Notes

    • C.UTF-8 uses Unicode display cells to locate tab stops. C uses byte-oriented column positions.

    Build from source with the MoonBit 1.0 RC1 toolchain.

    See the compatibility guide for the supported profile.

    Source Files