1EXPAND(1) User Commands EXPAND(1)
2
3
4
6 expand - convert tabs to spaces
7
9 expand [OPTION]... [FILE]...
10
12 Convert tabs in each FILE to spaces, writing to standard output.
13
14 With no FILE, or when FILE is -, read standard input.
15
16 Mandatory arguments to long options are mandatory for short options
17 too.
18
19 -i, --initial
20 do not convert tabs after non blanks
21
22 -t, --tabs=N
23 have tabs N characters apart, not 8
24
25 -t, --tabs=LIST
26 use comma separated list of tab positions The last specified
27 position can be prefixed with '/' to specify a tab size to use
28 after the last explicitly specified tab stop. Also a prefix of
29 '+' can be used to align remaining tab stops relative to the
30 last specified tab stop instead of the first column
31
32 --help display this help and exit
33
34 --version
35 output version information and exit
36
38 Written by David MacKenzie.
39
41 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
42 Report any translation bugs to <https://translationproject.org/team/>
43
45 Copyright © 2019 Free Software Foundation, Inc. License GPLv3+: GNU
46 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
47 This is free software: you are free to change and redistribute it.
48 There is NO WARRANTY, to the extent permitted by law.
49
51 unexpand(1)
52
53 Full documentation <https://www.gnu.org/software/coreutils/expand>
54 or available locally via: info '(coreutils) expand invocation'
55
56
57
58GNU coreutils 8.31 March 2019 EXPAND(1)