Searched refs:answer (Results 1 – 2 of 2) sorted by relevance
417 local answer420 answer=$1424 read answer429 if [ -z "$answer" ]432 elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")434 if [ $answer -le ${#LUNCH_MENU_CHOICES[@]} ]436 selection=${LUNCH_MENU_CHOICES[$(($answer-1))]}438 elif (echo -n $answer | grep -q -e "^[^\-][^\-]*-[^\-][^\-]*$")440 selection=$answer446 echo "Invalid lunch combo: $answer"
544 answer = raw_input("try to edit again? [y]> ").strip()545 if answer and answer[0] not in 'yY':