I need a script to
1. ask a simple question
2. get answer
3. save answer in a flat file
4. loop and ask question again
5. if answer is null exit
***********************************************************
while true
doif [ $TTY = "" ]
then
break
else
echo "Enter ttyp to kill \c"
read TTY
cat $TTY >> ttylist
fi
done
***********************************************************
What am I doing wrong??
Thanks
Brandt
1. ask a simple question
2. get answer
3. save answer in a flat file
4. loop and ask question again
5. if answer is null exit
***********************************************************
while true
doif [ $TTY = "" ]
then
break
else
echo "Enter ttyp to kill \c"
read TTY
cat $TTY >> ttylist
fi
done
***********************************************************
What am I doing wrong??
Thanks
Brandt