unexpand.1: convert to mandoc

This commit is contained in:
Hiltjo Posthuma 2015-01-31 00:20:29 +01:00
parent 658b5989d3
commit 89881a4e4c

View File

@ -1,25 +1,28 @@
.TH EXPAND 1 sbase\-VERSION
.SH NAME
unexpand \- convert blanks to tabs
.SH SYNOPSIS
.B unexpand
.RB [ \-a ]
.RB [ \-t
.IR n ]
.RI [ file ...]
.SH DESCRIPTION
unexpand processes the named files or the standard input, writing the
.Dd January 30, 2015
.Dt UNEXPAND 1 sbase\-VERSION
.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
.TP
.BI \-a
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl a
convert blanks to tabs everywhere, not just at the start of lines
.TP
.BI \-t " n"
.It Fl t Ar n
set tab size to
.I n
.Ar n
spaces (default: 8)
.SH SEE ALSO
.IR expand (1)
.El
.Sh SEE ALSO
.Xr expand 1