while true ; do
read -p "Proced with installation:(y/n) ?" ans
case ans in
"y"|"y" )
echo "y"; break ;;
"n"|"N" )
echo "n"; break ;;
* )
echo "invalid choice=$ans enter again : ";
esac
done
问问题
508 次