Envolvendo isso em outro loop while:
while :
do
echo -n "Enter starting weight: "
read star
echo -n "Enter ending weight: "
read end
echo -n "Enter weight increment: "
read increment
while [ "$star" -le "$end" ]
do
moonweight='echo $star \* .166 | bc'
echo "$star pounds on earth = $moonweight pounds on the moon"
star='expr $star + $increment'
done
notDone=true
while $notDone
do
echo -n "Enter a number or Q to quit: "
read var1 junk
var1='echo $var1 | tr 'A-Z' 'a-z''
if [ "$var1" = "q" ]
then
echo "Goodbye"
exit
else
notDone=false
fi
done
done