1UNEXPAND(1)                      User Commands                     UNEXPAND(1)
2
3
4

NAME

6       unexpand - convert spaces to tabs
7

SYNOPSIS

9       unexpand [OPTION]... [FILE]...
10

DESCRIPTION

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

AUTHOR

41       Written by David MacKenzie.
42

REPORTING BUGS

44       GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
45       Report any translation bugs to <https://translationproject.org/team/>
46
48       Copyright © 2023 Free Software Foundation, Inc.   License  GPLv3+:  GNU
49       GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
50       This  is  free  software:  you  are free to change and redistribute it.
51       There is NO WARRANTY, to the extent permitted by law.
52

SEE ALSO

54       expand(1)
55
56       Full documentation <https://www.gnu.org/software/coreutils/unexpand>
57       or available locally via: info '(coreutils) unexpand invocation'
58
59
60
61GNU coreutils 9.3               September 2023                     UNEXPAND(1)
Impressum