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 expand translation bugs to <https://translationpro‐
43 ject.org/team/>
44
46 Copyright © 2018 Free Software Foundation, Inc. License GPLv3+: GNU
47 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
48 This is free software: you are free to change and redistribute it.
49 There is NO WARRANTY, to the extent permitted by law.
50
52 unexpand(1)
53
54 Full documentation at: <https://www.gnu.org/software/coreutils/expand>
55 or available locally via: info '(coreutils) expand invocation'
56
57
58
59GNU coreutils 8.30 July 2018 EXPAND(1)