1SEQ(1) User Commands SEQ(1)
2
3
4
6 seq - print a sequence of numbers
7
9 seq [OPTION]... LAST
10 seq [OPTION]... FIRST LAST
11 seq [OPTION]... FIRST INCREMENT LAST
12
14 Print numbers from FIRST to LAST, in steps of INCREMENT.
15
16 -f, --format=FORMAT
17 use printf style floating-point FORMAT
18
19 -s, --separator=STRING
20 use STRING to separate numbers (default: \n)
21
22 -w, --equal-width
23 equalize width by padding with leading zeroes
24
25 --help display this help and exit
26
27 --version
28 output version information and exit
29
30 If FIRST or INCREMENT is omitted, it defaults to 1. That is, an omit‐
31 ted INCREMENT defaults to 1 even when LAST is smaller than FIRST.
32 FIRST, INCREMENT, and LAST are interpreted as floating point values.
33 INCREMENT is usually positive if FIRST is smaller than LAST, and INCRE‐
34 MENT is usually negative if FIRST is greater than LAST. FORMAT must be
35 suitable for printing one argument of type `double'; it defaults to
36 %.PRECf if FIRST, INCREMENT, and LAST are all fixed point decimal num‐
37 bers with maximum precision PREC, and to %g otherwise.
38
40 Written by Ulrich Drepper.
41
43 Report bugs to <bug-coreutils@gnu.org>.
44
46 Copyright © 2007 Free Software Foundation, Inc.
47 This is free software. You may redistribute copies of it under the
48 terms of the GNU General Public License
49 <http://www.gnu.org/licenses/gpl.html>. There is NO WARRANTY, to the
50 extent permitted by law.
51
53 The full documentation for seq is maintained as a Texinfo manual. If
54 the info and seq programs are properly installed at your site, the com‐
55 mand
56
57 info seq
58
59 should give you access to the complete manual.
60
61
62
63GNU coreutils 6.9 March 2008 SEQ(1)