#!/bin/ksh
# File: case2
while :
do
   echo "Enter someone's name: \c"
   read name
   case $name in
     brenda) echo "Drives a vette, lives in Brentwood."
             echo "Loves cats."
     ;;
     bobby)  echo "Drives a jeep, lives in Twin Peaks."
             echo "Loves dogs."
     ;;
     julie)  echo "Rides a Harley, lives in Palm Springs."
             echo "Loves freedom."
     ;;
     johnny) echo "Rides a mountain bike, lives in Moab."
             echo "Loves nature."
     ;;
       quit) exit
     ;;
          *) echo "Don't know this person."
             echo "Try again."
     ;;
   esac
done
