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 .Dd January 30, 2015
.SH NAME .Dt UNEXPAND 1 sbase\-VERSION
unexpand \- convert blanks to tabs .Os
.SH SYNOPSIS .Sh NAME
.B unexpand .Nm unexpand
.RB [ \-a ] .Nd convert blanks to tabs
.RB [ \-t .Sh SYNOPSIS
.IR n ] .Nm
.RI [ file ...] .Op Fl a
.SH DESCRIPTION .Op Fl t Ar n
unexpand processes the named files or the standard input, writing the .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 standard output with consecutive blanks (spaces and tabs) converted
into tabs. Backspace characters are preserved into the output and into tabs. Backspace characters are preserved into the output and
decrement the column count for tab calculations. decrement the column count for tab calculations.
.SH OPTIONS .Sh OPTIONS
.TP .Bl -tag -width Ds
.BI \-a .It Fl a
convert blanks to tabs everywhere, not just at the start of lines convert blanks to tabs everywhere, not just at the start of lines
.TP .It Fl t Ar n
.BI \-t " n"
set tab size to set tab size to
.I n .Ar n
spaces (default: 8) spaces (default: 8)
.SH SEE ALSO .El
.IR expand (1) .Sh SEE ALSO
.Xr expand 1