Example script: ex4.ksh


   1: #!/bin/ksh
   2: count=0
   3: max=10
   4: while [[ $count -lt $max ]]
   5: do 
   6:   echo $count
   7:   count=$((count + 1))
   8: done



  last modified 02/04/2009 Introduction Table of Contents
(frame/no frame)
Printable
(single file)
© Dartmouth College