expand
v(uutils coreutils) 0.1.0
Options
- --initial,- -i
- 
expand-help-initial 
- --tabs=<N, LIST>,- -t <N, LIST>
- 
expand-help-tabs 
- --no-utf8,- -U
- 
expand-help-no-utf8 
Examples
Convert tabs in each file to spaces, writing to stdout:
expand {{path/to/file}}
Convert tabs to spaces, reading from stdin:
expand
Do not convert tabs after non blanks:
expand {{[-i|--initial]}} {{path/to/file}}
Have tabs a certain number of characters apart, not 8:
expand {{[-t|--tabs]}} {{number}} {{path/to/file}}
Use a comma separated list of explicit tab positions:
expand {{[-t|--tabs]}} {{1,4,6}}
The examples are provided by the tldr-pages project under the CC BY 4.0 License.
Please note that, as uutils is a work in progress, some examples might fail.