Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
while echo " Select option\n
1) Car
2) Plane
3) Boat
"; do
read keypress
case $keypress in
1) echo "You have selected Car "
db=cars
((c_flag=1));;
2) echo "You have selected Plane "
db=planes
((p_flag=1));;
3) echo "You have selected boat "
db=boats
((b_flag=1));;
*) echo "
!!!WRONG SELECTION. TRY AGAIN
"; continue;;
esac
break
done
PS3=$(echo "Q) Quit\nSelect option ")
select X in Car Plane Boat; do
echo "You have selected $X"
case $REPLY in
1) db=cars;((c_flag=1));break;;
2) db=planes;((p_flag=1));break;;
3) db=boats;((b_flag=1));break;;
[qQ]*) exit;;
*) echo "
!!!WRONG SELECTION. TRY AGAIN
";;
esac
done
echo "db='$db'"