sbase/seq.1

40 lines
578 B
Groff
Raw Normal View History

.Dd 2015-10-08
.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 sep
.Op Ar startnum Op Ar step
.Ar endnum
2015-01-30 21:39:41 +00:00
.Sh DESCRIPTION
.Nm
writes a sequence of numbers from
.Ar startnum
2015-02-01 19:52:28 +00:00
(default: 1) to
.Ar endnum
2012-05-10 18:20:16 +00:00
in
2015-01-30 21:39:41 +00:00
.Ar step
intervals (default: 1)
to stdout.
2015-01-30 21:39:41 +00:00
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f Ar fmt
Use
.Ar fmt
as the output line format according to
2015-01-30 21:39:41 +00:00
.Xr printf 3 .
.It Fl s Ar sep
Print
.Ar sep
between output lines. The default is "\en".
2015-01-30 21:39:41 +00:00
.It Fl w
Print out lines in equal width.
2015-01-30 21:39:41 +00:00
.El
.Sh SEE ALSO
.Xr printf 3