2015-01-30 16:39:41 -05:00
|
|
|
.Dd January 30, 2015
|
2015-01-31 08:20:02 -05:00
|
|
|
.Dt SEQ 1
|
2015-01-31 14:37:03 -05:00
|
|
|
.Os sbase
|
2015-01-30 16:39:41 -05: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
|
2013-07-20 01:27:42 -04:00
|
|
|
will print a sequence of numbers from
|
2015-01-30 16:39:41 -05:00
|
|
|
.Ar start
|
2012-05-10 14:20:16 -04:00
|
|
|
(default 1) to
|
2015-01-30 16:39:41 -05:00
|
|
|
.Ar end ,
|
2012-05-10 14:20:16 -04:00
|
|
|
in
|
2015-01-30 16:39:41 -05:00
|
|
|
.Ar step
|
2012-05-10 14:20:16 -04:00
|
|
|
intervals (default 1).
|
2015-01-30 16:39:41 -05:00
|
|
|
.Sh OPTIONS
|
|
|
|
.Bl -tag -width Ds
|
|
|
|
.It Fl f Ar format
|
2012-05-10 14:20:16 -04:00
|
|
|
specifies the format used for output lines, as per
|
2015-01-30 16:39:41 -05:00
|
|
|
.Xr printf 3 .
|
|
|
|
.It Fl s Ar separator
|
2012-04-11 12:59:33 -04:00
|
|
|
specifies the separator to print between output lines
|
2015-01-30 16:39:41 -05:00
|
|
|
.It Fl w
|
2012-04-11 12:59:33 -04:00
|
|
|
tells seq to print out lines in equal width
|
2015-01-30 16:39:41 -05:00
|
|
|
.El
|
|
|
|
.Sh SEE ALSO
|
|
|
|
.Xr printf 3
|