#!/bin/bash

# Example use of timed prompt script:
# The default response is '"'red'"'
color=`./timed_prompt "What is your favorite color? " red 2`
echo "Your color is $color"
echo
color=`./timed_prompt "What is your favorite color? " red 20`
echo "Your color is $color"