NAME
while, until - shell built-in functions to repetitively exe-
cute a set of actions while/until conditions are evaluated
TRUE
SYNOPSIS
sh
while [ conditions ]; do actions ; done
until [ conditions ]; do actions ; done
EXAMPLES
In these examples, the user is repeated prompted for a name
of a file to be located, until the user chooses to finish
the execution by entering an empty line.
sh
filename=anything
while [ $filename ]
do
echo "file?"
read filename # read from terminal
find . -name $filename -print
done