sbase/seq.1

35 lines
589 B
Groff
Raw Normal View History

2015-01-30 21:39:41 +00:00
.Dd January 30, 2015
.Dt SEQ 1
.Os sbase
2015-01-30 21:39:41 +00:00
.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
2015-01-30 21:39:41 +00:00
.Ar start
2012-05-10 18:20:16 +00:00
(default 1) to
2015-01-30 21:39:41 +00:00
.Ar end ,
2012-05-10 18:20:16 +00:00
in
2015-01-30 21:39:41 +00:00
.Ar step
2012-05-10 18:20:16 +00:00
intervals (default 1).
2015-01-30 21:39:41 +00:00
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f Ar format
2012-05-10 18:20:16 +00:00
specifies the format used for output lines, as per
2015-01-30 21:39:41 +00:00
.Xr printf 3 .
.It Fl s Ar separator
2012-04-11 16:59:33 +00:00
specifies the separator to print between output lines
2015-01-30 21:39:41 +00:00
.It Fl w
2012-04-11 16:59:33 +00:00
tells seq to print out lines in equal width
2015-01-30 21:39:41 +00:00
.El
.Sh SEE ALSO
.Xr printf 3