summaryrefslogtreecommitdiff
path: root/util/sbase/seq.1
blob: 1b9def899f8b3d06ffd9b90df05b743ac6653f86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
.Dd October 8, 2015
.Dt SEQ 1
.Os sbase
.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
.Sh DESCRIPTION
.Nm
writes a sequence of numbers from
.Ar startnum
(default: 1) to
.Ar endnum
in
.Ar step
intervals (default: 1)
to stdout.
.Sh OPTIONS
.Bl -tag -width Ds
.It Fl f Ar fmt
Use
.Ar fmt
as the output line format according to
.Xr printf 3 .
.It Fl s Ar sep
Print
.Ar sep
between output lines.
The default is "\en".
.It Fl w
Print out lines in equal width.
.El
.Sh SEE ALSO
.Xr printf 3