.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
.TH UNEXPAND "1" "January 2024" "GNU coreutils 8.32" "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:
.br
Report any translation bugs to
.SH COPYRIGHT
Copyright \(co 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later .
.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"
expand(1)
.PP
.br
Full documentation
.br
or available locally via: info \(aq(coreutils) unexpand invocation\(aq