Provided by: 9base_6-7build1_amd64

**NAME**

seq - print sequences of numbers

**SYNOPSIS**

seq[-w] [-fformat] [first[incr] ]last

**DESCRIPTION**

Seqprints a sequence of numbers, one per line, fromfirst(default 1) to as nearlastas possible, in increments ofincr(default 1). The loop is: for(val = min; val <= max; val += incr) print val; The numbers are interpreted as floating point. Normally integer values are printed as decimal integers. The options are-fformatUse theformat-wEqualize the widths of all numbers by padding with leading zeros as necessary. Not effective with option-f, nor with numbers in exponential notation.

**EXAMPLES**

seq 0 .05 .1 Print00.050.1(on separate lines). seq -w 0 .05 .1 Print0.000.050.10.

**SOURCE**

/src/cmd/seq.c

**BUGS**

Option-walways surveys every value in advance. Thus seq -w 1000000000 is a painful way to get an `infinite' sequence. SEQ(1plan9)