#!/bin/bash ############################ #Joshua Hubbard # #GB# 14 # #Comp 230 # #Decisions.sh # ############################ echo "" correct=N place= while [ $correct = N ] do echo "" read -p "What is the capital of Texas... " ans place=`echo $ans | tr [:lower:] [:upper:]` if [ $place = "AUSTIN" ]; then echo "" echo Congratulations, You are correct!!! correct=Y else echo "" echo That is not correct, Try Again!!! correct=N fi done echo "" echo "END OF PROGRAM"