sbase/seq.1

35 lines
583 B
Groff

.Dd January 30, 2015
.Dt SEQ 1
.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
.Ar start
(default 1) to
.Ar end ,
in
.Ar step
intervals (default 1).
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f Ar format
specifies the format used for output lines, as per
.Xr printf 3 .
.It Fl s Ar separator
specifies the separator to print between output lines
.It Fl w
tells seq to print out lines in equal width
.El
.Sh SEE ALSO
.Xr printf 3