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 seq bugs to bug-coreutils@gnu.org
44 GNU coreutils home page: <http://www.gnu.org/software/coreutils/>
45 General help using GNU software: <http://www.gnu.org/gethelp/>
46 Report seq translation bugs to <http://translationproject.org/team/>
47
49 Copyright © 2010 Free Software Foundation, Inc. License GPLv3+: GNU
50 GPL version 3 or later <http://gnu.org/licenses/gpl.html>.
51 This is free software: you are free to change and redistribute it.
52 There is NO WARRANTY, to the extent permitted by law.
53
55 The full documentation for seq is maintained as a Texinfo manual. If
56 the info and seq programs are properly installed at your site, the com‐
57 mand
58
59 info coreutils 'seq invocation'
60
61 should give you access to the complete manual.
62
63
64
65GNU coreutils 8.5 November 2010 SEQ(1)