File:  [MW Coherent from dump] / coherent / a / usr / man / COHERENT / from
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Wed May 29 04:56:34 2019 UTC (7 years ago) by root
Branches: MarkWilliams, MAIN
CVS tags: relic, HEAD
coherent



from                         Command                         from




Generate list of numbers

ffrroomm _s_t_a_r_t ttoo _s_t_o_p [ bbyy _i_n_c_r ]

from prints  a list of  integers on the standard  output, one per
line.  It prints beginning with start, and then prints successive
numbers incrementing by  incr (default, one) the previous number.
It continues  until the generated value  matches or exceeds stop.
Each of start, stop, and  optional incr is a decimal integer with
an optional leading `-' sign.

Typical uses  of from  include generating  a file of  numbers and
generating a loop index  for the shell sh.  The following example
creates special files for eight terminal ports:


for i in `from 0 to 7`
do
        /etc/mknod /dev/tty3$i c 3 $i
done


***** See Also *****

commands, sh

***** Diagnostics *****

from prints an error message if the generated list is empty.



























COHERENT Lexicon                                           Page 1



unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.