[comp.unix.questions] Until loop

pkerr@maccs.dcss.mcmaster.ca (Paul Kerr) (11/26/90)

Hello,

 I am trying to run the code below as a shell program and have tried
many different variations to this (none have worked so far).
I just know its going to be a nice tiny mistake I am making so if you
could mail me the solution and save the net of some traffic I would
appreciate it.

---------------------------+++------------------------
echo -n 'Keys (q to quit entering keys) : '
read keys
until test $keys != q
do
    echo -n 'Keys (q to quit entering keys) : '
    read keys
    echo "Key:$keys"
done|echo
------------------------------------------------------

       Thanks a bunch 
                  Paul Kerr