expand

    expand command for MoonX.

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

    #expand

    Replace tabs with spaces through MoonX.

    #Usage

    moonx cli/expand input.txt moonx cli/expand -t 4 input.txt

    Read files or stdin and expand tabs to the next tab stop. The default interval is eight columns.

    #Common options

    OptionDescription
    -i, --initialConvert only leading blanks.
    -t VALUE, --tabs VALUESelect ascending tab stops. Default: 8.
    --helpShow help.
    --versionShow the version.

    #Notes

    • Column tracking uses C-locale byte/control-character rules, not Unicode display width.

    See the compatibility guide for the supported profile.

    Source Files