while : do echo "what: " read CHOICE case ${CHOICE} in (yes) # DO 1 ;; (no) # DO 2 ;; (exit|end) # END break (*) continue ;; esac done