1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 14:42:19 +02:00
tldr/pages/common/expand.md
Lena d427f333b2
pages/*: add backticks around I/O streams (#10436)
* as suggested in #10428
* standard input  => `stdin`
* standard output => `stdout`
* standard error  => `stderr`

Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
2023-08-09 10:59:02 +05:30

24 lines
502 B
Markdown

# expand
> Convert tabs to spaces.
> More information: <https://www.gnu.org/software/coreutils/expand>.
- 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 {{path/to/file}}`
- Have tabs a certain number of characters apart, not 8:
`expand -t={{number}} {{path/to/file}}`
- Use a comma separated list of explicit tab positions:
`expand -t={{1,4,6}}`