tldr/pages/common/expand.md
David de Barros Tadokoro e2fbf4d5fd
expand: fix short option -t argument separator (#12493)
`expand` doesn't accept the equals sign '=' as a separator between the short option `-t` and its arguments.

Signed-off-by: David Tadokoro <davidbtadokoro@usp.br>
2024-03-11 20:16:25 +01:00

502 B

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}}