seq - prints a sequence of numbers


seq [OPTION?... [FIRST [[STEP?] LAST...


This manual page documents briefly the GNU seq command. This manual page was written for the Debian GNU/Linux distribution (but may be used by others), because the original program does not have a manual page. Instead, it has documentation in the GNU Info format; see below.

seq prints a sequence of numbers to standard output. It prints the numbers from FIRST to LAST by STEP. By default, FIRST and STEP are both 1, and each number is printed on its own line. All numbers can be reals, not just integers.


The programs follow the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options are included below. For a complete description, see the Info files.

-f FORMAT, --format=FORMAT
Print all numbers using FORMAT; default `%g'. FORMAT must contain exactly one of the standarding float output formats `%e', `%f', or `%g'.
-s STRING, --separator=STRING
Separate numbers with STRING; default is a newline. The utput always terminates with a newline.
-w, --equal-width
Print all numbers with the same width, by padding with leading zeroes. (To have other kinds of padding, use `--format').
Show summary of options.
Show version of program.


This program is documented fully by Shell utilities: (sh-utils), GNU shell utilities, available via the Info system.


This manual page was written by Galen Hazelwood, for the Debian GNU/Linux system.

This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.

lib/main.php:944: Notice: PageInfo: Cannot find action page

lib/main.php:839: Notice: PageInfo: Unknown action