mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-11-10 11:29:59 +03:00
24 lines
475 B
Markdown
24 lines
475 B
Markdown
# unexpand
|
|
|
|
> Convert spaces to tabs.
|
|
|
|
- Convert blanks in each file to tabs, writing to standard output:
|
|
|
|
`unexpand {{file}}`
|
|
|
|
- Convert blanks to tabs, reading from standard output:
|
|
|
|
`unexpand`
|
|
|
|
- Convert all blanks, instead of just initial blanks:
|
|
|
|
`unexpand -a {{file}}`
|
|
|
|
- Convert only leading sequences of blanks (overrides -a):
|
|
|
|
`unexpand --first-only {{file}}`
|
|
|
|
- Have tabs a certain number of characters apart, not 8 (enables -a):
|
|
|
|
`unexpand -t {{number}} {{file}}`
|