One Day One GNU/Linux Command
=============================
seq -- Prints a sequence of Numbers
Summary :
`seq' prints the numbers from Start to End in steps. By default,
Start and Step are 1, and by default each number is separated by
a new line. All numbers can be reals, not just integers.
Examples :
$ seq 6 -- Print Nos from 1 to 6.
$ seq 2 6 -- Print Nos from 2 to 6.
$ seq .1 .5 10 -- Real numbers with factional step value 0.1.
$ seq 10 100 10000 -- Print Nos from 10 to 10K with step value 100.
$ seq -w 10 100 10000 -- All Nos are printed equal width.
$ seq -s' ' 1 2 10 -- Each number is separated by SPACE.
$ seq -f %1.f 1000000 1000001 -- Print Nos with no exponent and no
decimal point.
$ seq -f %e 1 5 -- Print Nos with exponent and decimal point.
Note:
1) Fractional increment may NOT end with END value.
2) For more formatting detail is avail in info page.
Read : man seq
HTH :)
--
Bharathi S