<tt>until</tt> loop



next up previous contents
Next: if statement Up: Control Structures Previous: while condition

until loop

Again, another way to write the above example is to use the until control sequence:

    #!/bin/sh
    until test $# -eq 0
    do
        echo parameter $1
        shift
    done
    exit 0



Super-User
Fri Feb 17 15:55:40 EST 1995