.TH detab "" "" Command
.PC "Replace tab characters with spaces"
\fBdetab [\fItabsize\^\fB]\fR
.PP
.HS
.SH Option:
.IC \fItabsize\fR
Set \fItabsize\fR (2-256, inclusive)
.HE
The command
.B detab
reads the standard input, replaces every tab character with spaces,
and writes the result to the standard output.
.PP
.B detab
assumes that a tab stop occurs every
.IR tabsize ,
which must be an integer greater than one and less than 257.
If you do not supply a
.IR tabsize ,
.B detab
assumes that a tab stop occurs every eight characters.
.II TABSIZE
You can also override the default tab size by setting the environmental variable
.B TABSIZE
to a value other than eight.
.SH "See Also"
.Xr "commands" commands
