Searched refs:answer (Results 1 – 2 of 2) sorted by relevance
491 local answer494 answer=$1498 read answer503 if [ -z "$answer" ]506 elif (echo -n $answer | grep -q -e "^[0-9][0-9]*$")508 if [ $answer -le ${#LUNCH_MENU_CHOICES[@]} ]510 selection=${LUNCH_MENU_CHOICES[$(($answer-1))]}512 elif (echo -n $answer | grep -q -e "^[^\-][^\-]*-[^\-][^\-]*$")514 selection=$answer520 echo "Invalid lunch combo: $answer"
778 answer = raw_input("try to edit again? [y]> ").strip()779 if answer and answer[0] not in 'yY':