seq(1) plan9 man page | unix.com

Man Page: seq

Operating Environment: plan9

Section: 1

SEQ(1)							      General Commands Manual							    SEQ(1)

NAME
seq - print sequences of numbers
SYNOPSIS
seq [ -w ] [ -fformat ] [ first [ incr ] ] last
DESCRIPTION
Seq prints a sequence of numbers, one per line, from first (default 1) to as near last as possible, in increments of incr (default 1). The numbers are interpreted as floating point. Normally integer values are printed as decimal integers. The options are -fformat Use the print(2)-style format print for printing each (floating point) number. The default is -w Equalize 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 Print 0 0.05 0.1 (on separate lines). seq -w 0 .05 .1 Print 0.00 0.05 0.10.
SOURCE
/sys/src/cmd/seq.c
BUGS
Option -w always surveys every value in advance. Thus seq -w 1000000000 is a painful way to get an `infinite' sequence. SEQ(1)
Related Man Pages
seq(1) - opensolaris
seq(1) - redhat
seq(1) - centos
seq(1) - suse
bio::seqio::kegg(3pm) - debian
Similar Topics in the Unix Linux Community
Cd
Find pattern, and then last field from subsequent lines
Help with appending random sequence to huge CDR file
Solaris 10 - 'ls' green for root user only
Help with merge data with a reference sequence