Ask and validate a question within a shell script. It will set correct exit codes and/or return the entered value.