1UNEXPAND(1) User Commands UNEXPAND(1)
2
3
4
6 unexpand - convert spaces to tabs
7
9 unexpand [OPTION]... [FILE]...
10
12 Convert blanks in each FILE to tabs, 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 -a, --all
20 convert all blanks, instead of just initial blanks
21
22 --first-only
23 convert only leading sequences of blanks (overrides -a)
24
25 -t, --tabs=N
26 have tabs N characters apart instead of 8 (enables -a)
27
28 -t, --tabs=LIST
29 use comma separated list of tab positions The last specified
30 position can be prefixed with '/' to specify a tab size to use
31 after the last explicitly specified tab stop. Also a prefix of
32 '+' can be used to align remaining tab stops relative to the
33 last specified tab stop instead of the first column
34
35 --help display this help and exit
36
37 --version
38 output version information and exit
39
41 Written by David MacKenzie.
42
44 GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
45 Report unexpand translation bugs to <https://translationpro‐
46 ject.org/team/>
47
49 Copyright © 2018 Free Software Foundation, Inc. License GPLv3+: GNU
50 GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
51 This is free software: you are free to change and redistribute it.
52 There is NO WARRANTY, to the extent permitted by law.
53
55 expand(1)
56
57 Full documentation at: <https://www.gnu.org/software/coreutils/unex‐
58 pand>
59 or available locally via: info '(coreutils) unexpand invocation'
60
61
62
63GNU coreutils 8.30 July 2018 UNEXPAND(1)