Add expand(1)

Signed-off-by: Christoph Lohmann <20h@r-36.net>
This commit is contained in:
stateless
2013-06-17 12:00:36 +01:00
committed by Christoph Lohmann
parent 12116cccc4
commit e28c17c7cc
3 changed files with 130 additions and 0 deletions

21
expand.1 Normal file
View File

@@ -0,0 +1,21 @@
.TH EXPAND 1 sbase\-VERSION
.SH NAME
expand \- expand tabs to spaces
.SH SYNOPSIS
.B expand
.RB [ \-t
.IR n ]
.RI [ file ...]
.SH DESCRIPTION
expand processes the named files or the standard input, writing the
standard output with tabs changed into spaces. Backspace characters
are preserved into the output and decrement the column count for tab
calculations.
.SH OPTIONS
.TP
.BI \-t " n"
Expand tabs to
.I n
spaces. We currently support only a single numerical argument.
.SH SEE ALSO
.IR fold (1)