#!/bin/bash
echo -n what colour \?
read colour
echo "starting an xterm with $colour text" 
case $colour in
[Bb]lu?)
  xterm -foreground blue &
  ;;
[Gg]reen)
  xterm -foreground darkgreen  &
  ;;
red)
   echo red
  xterm -foreground red  &
  ;;
*)
  xterm &
  ;;
esac