Until loop
Paul Kerr
pkerr at maccs.dcss.mcmaster.ca
Mon Nov 26 07:49:53 AEST 1990
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
More information about the Comp.unix.questions
mailing list