expand

    expand command for MoonX.

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

    #expand

    Convert tabs to spaces for MoonX.

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

    #Supported scope

    Process files or stdin, using eight-column tab stops by default. Tab lists support fixed stops and a final /N (absolute) or +N (relative) interval.

    #Options

    OptionDescription
    -i, --initialConvert only leading blanks.
    -t, --tabs=LISTSelect ascending tab stops.
    --help / --versionShow help / package version.

    #Limitations

    • Columns use byte rules; locale-dependent Unicode widths are unsupported.

    #Examples

    moonx cli/expand@0.1.4 -t 4 notes.txt printf 'a b\n' | moonx cli/expand@0.1.4

    Source Files