I am trying to get my program to exit when the answer to my question is positive, if I am asking if the answers are correct in the entries that the user inputted and the user says no how do I then have it exit? If they say everything is correct then it continue into the program, I think I am close but my syntax maybe off.
Stop=N
while [[ $Stop = "N" ]]
do
read -p "Are you sure you inputed all numbers correctly? (y/n)" Stop
exit
done