#!/usr/bin/env bash stty /dev/tty read -p 'press [ENTER] to continue:' echo REPLY=$REPLY choices=( one two three) select choice in "${choices[@]}"; do [[ -n $choice ]] && break done echo "choice is: $choice"