.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
.TH EXPAND "1" "April 2026" "GNU coreutils 9.11" "User Commands"
.SH NAME
expand \- convert tabs to spaces
.SH SYNOPSIS
.B expand
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
.SH DESCRIPTION
.\" Add any additional description here
.PP
Convert tabs in each FILE to spaces, 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
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#expand-i'\fB\-i, \-\-initial\fP\X'tty: link'
do not convert tabs after non blanks
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#expand-t'\fB\-t, \-\-tabs=\,N\fP\X'tty: link'\/\fR
have tabs N characters apart, not 8
.TP
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#expand-t'\fB\-t, \-\-tabs=\,LIST\fP\X'tty: link'\/\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
\X'tty: link https://www.gnu.org/software/coreutils/expand#expand--help'\fB\-\-help\fP\X'tty: link'
display this help and exit
.TP
\X'tty: link https://www.gnu.org/software/coreutils/expand#expand--version'\fB\-\-version\fP\X'tty: link'
output version information and exit
.SH AUTHOR
Written by David MacKenzie.
.SH "REPORTING BUGS"
Report bugs to: bug\-coreutils@gnu.org
.br
GNU coreutils home page:
.br
General help using GNU software:
.br
Report any translation bugs to
.SH COPYRIGHT
Copyright \(co 2026 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"
\fBunexpand\fP(1)
.PP
.br
Full documentation
.br
or available locally via: info \(aq(coreutils) expand invocation\(aq