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