help with the script down here. I am so confuse as to why it is not working. I've change this thing back and forth and getting no where. It is driving me crazy. The error message keep saying script2: line 10: syntax error near unexpected token done' script2: line 10:
done'
YORN="y"
while [ $YANSWER == "$YORN" ] do
echo " Do you want to add more user?(y/n)? "
read ANSWER
YANSWER=`echo $ANSWER | tr [:upper:] [:lower:] | cut -c 1`
if [$YANSWER == "$YORN"]; then
./script2
fi
done