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 次