62 lines
2.2 KiB
Groff
62 lines
2.2 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
|
|
.TH SEQ "1" "April 2025" "GNU coreutils 9.7" "User Commands"
|
|
.SH NAME
|
|
seq \- print a sequence of numbers
|
|
.SH SYNOPSIS
|
|
.B seq
|
|
[\fI\,OPTION\/\fR]... \fI\,LAST\/\fR
|
|
.br
|
|
.B seq
|
|
[\fI\,OPTION\/\fR]... \fI\,FIRST LAST\/\fR
|
|
.br
|
|
.B seq
|
|
[\fI\,OPTION\/\fR]... \fI\,FIRST INCREMENT LAST\/\fR
|
|
.SH DESCRIPTION
|
|
.\" Add any additional description here
|
|
.PP
|
|
Print numbers from FIRST to LAST, in steps of INCREMENT.
|
|
.PP
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
.TP
|
|
\fB\-f\fR, \fB\-\-format\fR=\fI\,FORMAT\/\fR
|
|
use printf style floating\-point FORMAT
|
|
.TP
|
|
\fB\-s\fR, \fB\-\-separator\fR=\fI\,STRING\/\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.
|
|
The sequence of numbers ends when the sum of the current number and
|
|
INCREMENT would become greater than LAST.
|
|
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.
|
|
INCREMENT must not be 0; none of FIRST, INCREMENT and LAST may be NaN.
|
|
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"
|
|
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
|
|
.br
|
|
Report any translation bugs to <https://translationproject.org/team/>
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2025 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
|
.br
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
.SH "SEE ALSO"
|
|
Full documentation <https://www.gnu.org/software/coreutils/seq>
|
|
.br
|
|
or available locally via: info \(aq(coreutils) seq invocation\(aq
|