mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-28 03:15:33 +03:00
24 lines
420 B
Markdown
24 lines
420 B
Markdown
|
# expand
|
||
|
|
||
|
> Convert tabs to spaces.
|
||
|
|
||
|
- Convert tabs in each file to spaces, writing to standard output:
|
||
|
|
||
|
`expand {{file}}`
|
||
|
|
||
|
- Convert tabs to spaces, reading from standard input:
|
||
|
|
||
|
`expand`
|
||
|
|
||
|
- Do not convert tabs after non blanks:
|
||
|
|
||
|
`expand -i {{file}}`
|
||
|
|
||
|
- Have tabs a certain number of characters apart, not 8:
|
||
|
|
||
|
`expand -t={{number}} {{file}}`
|
||
|
|
||
|
- Use comma separated list of explicit tab positions:
|
||
|
|
||
|
`expand -t={{list}}`
|