2015-01-30 23:20:29 +00:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 13:20:02 +00:00
|
|
|
.Dt UNEXPAND 1
|
2015-01-31 19:37:03 +00:00
|
|
|
.Os sbase
|
2015-01-30 23:20:29 +00:00
|
|
|
.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
|
2015-02-01 19:52:28 +00:00
|
|
|
processes the named
|
|
|
|
.Ar files
|
|
|
|
or the standard input, writing the
|
2014-06-09 15:52:20 +00:00
|
|
|
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.
|
2015-01-30 23:20:29 +00:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl a
|
2015-02-01 19:52:28 +00:00
|
|
|
Convert blanks to tabs everywhere, not just at the start of lines.
|
2015-01-30 23:20:29 +00:00
|
|
|
.It Fl t Ar n
|
2015-02-01 19:52:28 +00:00
|
|
|
Set tab size to
|
2015-01-30 23:20:29 +00:00
|
|
|
.Ar n
|
2015-02-01 19:52:28 +00:00
|
|
|
spaces (default: 8).
|
2015-01-30 23:20:29 +00:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr expand 1
|