#!/bin/bash select word in * do echo "You type in $word"; echo "Your reply was $REPLY"; if [[ ! -z $word ]]; then break; fi done