sbase/seq.1

37 lines
593 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
2015-02-01 19:52:28 +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
2015-02-01 19:52:28 +00:00
intervals (default: 1).
2015-01-30 21:39:41 +00:00
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f Ar format
2015-02-01 19:52:28 +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
2015-02-01 19:52:28 +00:00
Specifies the separator to print between output lines.
2015-01-30 21:39:41 +00:00
.It Fl w
2015-02-01 19:52:28 +00:00
Tells
.Nm
to print out lines in equal width.
2015-01-30 21:39:41 +00:00
.El
.Sh SEE ALSO
.Xr printf 3