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