diff --git a/interactive.bash b/interactive.bash index 09644a7..71967b4 100755 --- a/interactive.bash +++ b/interactive.bash @@ -6,5 +6,5 @@ echo REPLY=$REPLY choices=( one two three) select choice in "${choices[@]}"; do [[ -n $choice ]] && break -done +done < /dev/tty echo "choice is: $choice"