1 .\" $NetBSD: seq.1,v 1.7 2010/05/27 08:30:35 dholland Exp $
3 .\" Copyright (c) 2005 The NetBSD Foundation, Inc.
4 .\" All rights reserved.
6 .\" This code is derived from software contributed to The NetBSD Foundation
9 .\" Redistribution and use in source and binary forms, with or without
10 .\" modification, are permitted provided that the following conditions
12 .\" 1. Redistributions of source code must retain the above copyright
13 .\" notice, this list of conditions and the following disclaimer.
14 .\" 2. Redistributions in binary form must reproduce the above copyright
15 .\" notice, this list of conditions and the following disclaimer in the
16 .\" documentation and/or other materials provided with the distribution.
18 .\" THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
19 .\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
20 .\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
21 .\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
22 .\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
23 .\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
24 .\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 .\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
26 .\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
27 .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28 .\" POSSIBILITY OF SUCH DAMAGE.
36 .Nd print sequences of numbers
43 .Op Ar first Op Ar incr
48 utility prints a sequence of numbers, one per line
55 as possible, in increments of
66 All numbers are interpreted as floating point.
68 Normally integer values are printed as decimal integers.
72 utility accepts the following options:
91 conversion characters are valid, along with any optional
92 flags and an optional numeric mimimum field width or precision.
95 can contain character escape sequences in backslash notation as
106 can contain character escape sequences in backslash notation as
114 to terminate sequence of numbers.
117 can contain character escape sequences in backslash notation as
120 This option is useful when the default separator
124 Equalize the widths of all numbers by padding with zeros as necessary.
125 This option has no effect with the
128 If any sequence numbers will be printed in exponential notation,
129 the default conversion is changed to
135 utility exits 0 on success and non-zero if an error occurs.
137 .Bd -literal -offset indent
160 command first appeared in
161 .Tn "Plan 9 from Bell Labs" .
166 This command was based on the command of the same name in
167 .Tn "Plan 9 from Bell Labs"
174 command first appeared in the 1.13 shell utilities release.
178 option does not handle the transition from pure floating point
179 to exponent representation very well.
182 command is not bug for bug compatible with the
183 .Tn "Plan 9 from Bell Labs"