| 1 |
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1. |
| 2 |
.TH SEQ "1" "February 2026" "GNU coreutils 9.10" "User Commands" |
| 3 |
.SH NAME |
| 4 |
seq \- print a sequence of numbers |
| 5 |
.SH SYNOPSIS |
| 6 |
.B seq |
| 7 |
[\fI\,OPTION\/\fR]... \fI\,LAST\/\fR |
| 8 |
.br |
| 9 |
.B seq |
| 10 |
[\fI\,OPTION\/\fR]... \fI\,FIRST LAST\/\fR |
| 11 |
.br |
| 12 |
.B seq |
| 13 |
[\fI\,OPTION\/\fR]... \fI\,FIRST INCREMENT LAST\/\fR |
| 14 |
.SH DESCRIPTION |
| 15 |
.\" Add any additional description here |
| 16 |
.PP |
| 17 |
Print numbers from FIRST to LAST, in steps of INCREMENT. |
| 18 |
.PP |
| 19 |
Mandatory arguments to long options are mandatory for short options too. |
| 20 |
.TP |
| 21 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-f'\fB\-f, \-\-format=\,FORMAT\fP\X'tty: link'\/\fR |
| 22 |
use printf style floating\-point FORMAT |
| 23 |
.TP |
| 24 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-s'\fB\-s, \-\-separator=\,STRING\fP\X'tty: link'\/\fR |
| 25 |
use STRING to separate numbers (default: \en) |
| 26 |
.TP |
| 27 |
\X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-w'\fB\-w, \-\-equal\-width\fP\X'tty: link' |
| 28 |
equalize width by padding with leading zeroes |
| 29 |
.TP |
| 30 |
\X'tty: link https://www.gnu.org/software/coreutils/seq#seq--help'\fB\-\-help\fP\X'tty: link' |
| 31 |
display this help and exit |
| 32 |
.TP |
| 33 |
\X'tty: link https://www.gnu.org/software/coreutils/seq#seq--version'\fB\-\-version\fP\X'tty: link' |
| 34 |
output version information and exit |
| 35 |
.PP |
| 36 |
If FIRST or INCREMENT is omitted, it defaults to 1. That is, an |
| 37 |
omitted INCREMENT defaults to 1 even when LAST is smaller than FIRST. |
| 38 |
The sequence of numbers ends when the sum of the current number and |
| 39 |
INCREMENT would become greater than LAST. |
| 40 |
FIRST, INCREMENT, and LAST are interpreted as floating point values. |
| 41 |
INCREMENT is usually positive if FIRST is smaller than LAST, and |
| 42 |
INCREMENT is usually negative if FIRST is greater than LAST. |
| 43 |
INCREMENT must not be 0; none of FIRST, INCREMENT and LAST may be NaN. |
| 44 |
FORMAT must be suitable for printing one argument of type 'double'; |
| 45 |
it defaults to %.PRECf if FIRST, INCREMENT, and LAST are all fixed point |
| 46 |
decimal numbers with maximum precision PREC, and to %g otherwise. |
| 47 |
.SH AUTHOR |
| 48 |
Written by Ulrich Drepper. |
| 49 |
.SH "REPORTING BUGS" |
| 50 |
Report bugs to: bug\[email protected] |
| 51 |
.br |
| 52 |
GNU coreutils home page: <https://www.gnu.org/software/coreutils/> |
| 53 |
.br |
| 54 |
General help using GNU software: <https://www.gnu.org/gethelp/> |
| 55 |
.br |
| 56 |
Report any translation bugs to <https://translationproject.org/team/> |
| 57 |
.SH "SEE ALSO" |
| 58 |
Full documentation <https://www.gnu.org/software/coreutils/seq> |
| 59 |
.br |
| 60 |
or available locally via: info \(aq(coreutils) seq invocation\(aq |
| 61 |
.PP |
| 62 |
.br |
| 63 |
Packaged by Debian (9.10\-1) |
| 64 |
.br |
| 65 |
Copyright \(co 2026 Free Software Foundation, Inc. |
| 66 |
.br |
| 67 |
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>. |
| 68 |
.br |
| 69 |
This is free software: you are free to change and redistribute it. |
| 70 |
.br |
| 71 |
There is NO WARRANTY, to the extent permitted by law. |