.\" Adapted for BNU from the GNU Coreutils 9.11 manual page; see doc/README.md. .TH SEQ "1" "2026-07-28" "BNU 9.11" "BNU 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 .\" This page is derived from GNU Coreutils documentation. This page documents BNU, an independent Bun implementation compatible with GNU Coreutils 9.11. .PP Print numbers from FIRST to LAST, in steps of INCREMENT. .PP Mandatory arguments to long options are mandatory for short options too. .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-f'\fB\-f, \-\-format=\,FORMAT\fP\X'tty: link'\/\fR use printf style floating\-point FORMAT .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-s'\fB\-s, \-\-separator=\,STRING\fP\X'tty: link'\/\fR use STRING to separate numbers (default: \en) .TP \X'tty: link https://www.gnu.org/software/coreutils/manual/coreutils.html#seq-w'\fB\-w, \-\-equal\-width\fP\X'tty: link' equalize width by padding with leading zeroes .TP \X'tty: link https://www.gnu.org/software/coreutils/seq#seq--help'\fB\-\-help\fP\X'tty: link' display this help and exit .TP \X'tty: link https://www.gnu.org/software/coreutils/seq#seq--version'\fB\-\-version\fP\X'tty: link' 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 AUTHORS Upstream GNU Coreutils documentation authors: Written by Ulrich Drepper. .br Adapted for BNU; the BNU implementation is independent. .SH "REPORTING BUGS" Report BNU bugs at . .br For upstream GNU Coreutils, see . .SH COPYRIGHT Copyright \(co 2026 Free Software Foundation, Inc. .br This manual page was adapted for BNU in 2026. License GPLv3+: GNU GPL version 3 or later . .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" Upstream documentation .br BNU documentation is available locally via: info \(aq(bnu) seq invocation\(aq