summaryrefslogtreecommitdiffstats
path: root/man/unexpand.1
blob: 6e62d2fb6535892a9c0a0ba01c8a843beaedfc2e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.48.5.
.TH UNEXPAND "1" "April 2022" "GNU coreutils 9.1" "User Commands"
.SH NAME
unexpand \- convert spaces to tabs
.SH SYNOPSIS
.B unexpand
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Convert blanks in each FILE to tabs, writing to standard output.
.PP
With no FILE, or when FILE is \-, read standard input.
.PP
Mandatory arguments to long options are mandatory for short options too.
.TP
\fB\-a\fR, \fB\-\-all\fR
convert all blanks, instead of just initial blanks
.TP
\fB\-\-first\-only\fR
convert only leading sequences of blanks (overrides \fB\-a\fR)
.TP
\fB\-t\fR, \fB\-\-tabs\fR=\fI\,N\/\fR
have tabs N characters apart instead of 8 (enables \fB\-a\fR)
.TP
\fB\-t\fR, \fB\-\-tabs\fR=\fI\,LIST\/\fR
use comma separated list of tab positions.
The last specified position can be prefixed with '/'
to specify a tab size to use after the last
explicitly specified tab stop.  Also a prefix of '+'
can be used to align remaining tab stops relative to
the last specified tab stop instead of the first column
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
.br
Report any translation bugs to <https://translationproject.org/team/>
.SH COPYRIGHT
Copyright \(co 2022 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
.br
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
\fBexpand\fP(1)
.PP
.br
Full documentation <https://www.gnu.org/software/coreutils/unexpand>
.br
or available locally via: info \(aq(coreutils) unexpand invocation\(aq