mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 08:55:33 +02:00
expand: add page (#917)
This commit is contained in:
parent
a58c2eca27
commit
cba222e057
1 changed files with 23 additions and 0 deletions
23
pages/linux/expand.md
Normal file
23
pages/linux/expand.md
Normal file
|
@ -0,0 +1,23 @@
|
|||
# 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}}`
|
Loading…
Add table
Reference in a new issue