.TH detab 1 ""
.SH NAME
detab - remove tab characters from a text file
.SH SYNOPSIS
.B detab
[\-?h]
[\-E\fInumber\fP]
[\-INR]
[\-c \fIcopy-command\fP]
[\-\fItabstop\fP]
filename(s)
.SH "/USR/CONTRIBUTED CAVEAT"
The software and documentation in /usr/contributed are supported
by users on campus rather than by the central support
organizations. Questions or comments about the contents of
/usr/contributed should be sent to the support person for the
particular application, library, or information file. The
support person is cited in the Support Person field at the end
of the documentation for the particular topic.
.SH DESCRIPTION
This is a utility program to remove all "hard tab" characters from
a piece of source code or other text file, replacing them with
spaces up to user-specified tabstops.
.SH OPTIONS
.TP 8
.B \-\fItabstop\fP
Tabstop every \fItabstop\fP characters.
For example: \fB-4\fP, \fB-8\fP, \fB-20\fP. Default: 8.
.TP 8
.B \-E\fInumber\fP
Entab input file(s). If the optional argument \fInumber\fP is given,
then do not change any sequence of \fInumber\fP or fewer spaces to a tab,
no matter where they appear.
.TP 8
.B \-I
Indent mode. Detab or entab only sequences of tabs and spaces which
begin a line.
.TP 8
.B \-N
Make sure each file ends with a newline; add one silently if necessary.
.TP 8
.B \-R
Silently replace each named file with its detabbed versions.
.TP 8
.B \-c \fIcopy-command\fP
Specify the equivalent of Unix \fBcp\fP, for use with the \fB-R\fP
command. For example, using \fBdetab\fP on MS-DOS one might invoke
\fBdetab -c copy -R *.c\fP
.TP 8
.B \-h, \--help
Show the online help text.
.SH SEE ALSO
.BR indent (1),
.BR tr (1)
.SH COPYRIGHT
Copyright \(co 2002-2004 by Arthur J. O'Dwyer. Free for all use.
http://www.contrib.andrew.cmu.edu/~ajo/free-software/detab.c
.SH AUTHOR
Arthur J. O'Dwyer
.SH "/USR/CONTRIBUTED CAVEAT"
The software and documentation in /usr/contributed are supported
by users on campus rather than by the central support
organizations. Questions or comments about the contents of
/usr/contributed should be sent to the support person for the
particular application, library, or information file. The
support person is cited in the Support Person field at the end
of the documentation for the particular topic.
.SH "SUPPORT PERSON"
This program
is currently being maintained by
Arthur J. O'Dwyer <ajo+@andrew.cmu.edu>.