echo -n "Would you like to play a game? " read x x=`echo $x | sed 's/[^-a-z0-9]//g'` if [ -f /usr/games/$x ] ; then tput clear exec /usr/games/$x else echo How about a nice game of ls /usr/games exec cat <<QUOTE A strange game, $x. <— NEW The only winning move is not to play. QUOTE fi exit 0