sbase/unexpand.1
2015-01-31 14:20:02 +01:00

29 lines
601 B
Groff

.Dd January 30, 2015
.Dt UNEXPAND 1
.Os
.Sh NAME
.Nm unexpand
.Nd convert blanks to tabs
.Sh SYNOPSIS
.Nm
.Op Fl a
.Op Fl t Ar n
.Op Ar file ...
.Sh DESCRIPTION
.Nm
processes the named files or the standard input, writing the
standard output with consecutive blanks (spaces and tabs) converted
into tabs. Backspace characters are preserved into the output and
decrement the column count for tab calculations.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl a
convert blanks to tabs everywhere, not just at the start of lines
.It Fl t Ar n
set tab size to
.Ar n
spaces (default: 8)
.El
.Sh SEE ALSO
.Xr expand 1