sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit b3c5b206e7929eadcb05b00dae101564e9d7c707
parent 1c93b03a857c007350e5f4f1c8edef60766f74b0
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Fri, 30 Jan 2015 22:39:41 +0100

seq.1: convert to mandoc

Diffstat:
Mseq.1 | 56+++++++++++++++++++++++++++-----------------------------
1 file changed, 27 insertions(+), 29 deletions(-)

diff --git a/seq.1 b/seq.1 @@ -1,36 +1,34 @@ -.TH SEQ 1 sbase\-VERSION -.SH NAME -seq \- print a sequence of numbers -.SH SYNOPSIS -.B seq -.RB [ \-w ] -.RB [ \-f -.IR fmt ] -.RB [ \-s -.IR separator ] -.RI [ start -.RI [ step ]] -.IR end -.SH DESCRIPTION -.B seq +.Dd January 30, 2015 +.Dt SEQ 1 sbase\-VERSION +.Os +.Sh NAME +.Nm seq +.Nd print a sequence of numbers +.Sh SYNOPSIS +.Nm +.Op Fl w +.Op Fl f Ar fmt +.Op Fl s Ar separator +.Op Ar start Op Ar step +.Ar end +.Sh DESCRIPTION +.Nm will print a sequence of numbers from -.I start +.Ar start (default 1) to -.IR end , +.Ar end , in -.IR step +.Ar step intervals (default 1). -.SH OPTIONS -.TP -.BI \-f " format" +.Sh OPTIONS +.Bl -tag -width Ds +.It Fl f Ar format specifies the format used for output lines, as per -.IR printf (3). -.TP -.BI \-s " separator" +.Xr printf 3 . +.It Fl s Ar separator specifies the separator to print between output lines -.TP -.BI \-w +.It Fl w tells seq to print out lines in equal width - -.SH SEE ALSO -.IR printf (3) +.El +.Sh SEE ALSO +.Xr printf 3