summaryrefslogtreecommitdiff
path: root/man/seq.1
blob: df5bc3a2e697021428566b73b8641eacfa370fa6 (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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
.\" DO NOT MODIFY THIS FILE!  It was generated by help2man 1.35.
.TH SEQ "1" "March 2007" "GNU coreutils 6.9" "User Commands"
.SH NAME
seq \- print a sequence of numbers
.SH SYNOPSIS
.B seq
[\fIOPTION\fR]... \fILAST\fR
.br
.B seq
[\fIOPTION\fR]... \fIFIRST LAST\fR
.br
.B seq
[\fIOPTION\fR]... \fIFIRST INCREMENT LAST\fR
.SH DESCRIPTION
.\" Add any additional description here
.PP
Print numbers from FIRST to LAST, in steps of INCREMENT.
.TP
\fB\-f\fR, \fB\-\-format\fR=\fIFORMAT\fR
use printf style floating\-point FORMAT
.TP
\fB\-s\fR, \fB\-\-separator\fR=\fISTRING\fR
use STRING to separate numbers (default: \en)
.TP
\fB\-w\fR, \fB\-\-equal\-width\fR
equalize width by padding with leading zeroes
.TP
\fB\-\-help\fR
display this help and exit
.TP
\fB\-\-version\fR
output version information and exit
.PP
If FIRST or INCREMENT is omitted, it defaults to 1.  That is, an
omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST.
FIRST, INCREMENT, and LAST are interpreted as floating point values.
INCREMENT is usually positive if FIRST is smaller than LAST, and
INCREMENT is usually negative if FIRST is greater than LAST.
FORMAT must be suitable for printing one argument of type `double';
it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point
decimal numbers with maximum precision PREC, and to %g otherwise.
.SH AUTHOR
Written by Ulrich Drepper.
.SH "REPORTING BUGS"
Report bugs to <bug\-coreutils@gnu.org>.
.SH COPYRIGHT
Copyright \(co 2007 Free Software Foundation, Inc.
.br
This is free software.  You may redistribute copies of it under the terms of
the GNU General Public License <http://www.gnu.org/licenses/gpl.html>.
There is NO WARRANTY, to the extent permitted by law.
.SH "SEE ALSO"
The full documentation for
.B seq
is maintained as a Texinfo manual.  If the
.B info
and
.B seq
programs are properly installed at your site, the command
.IP
.B info seq
.PP
should give you access to the complete manual.