#
echo -n "do you like the C shell? " #prompt.
set reply = $<                     # get a line of input.
if ($reply == "yes") then         #check for exact match.
 echo you entered yes
else if ($reply =~ y*) then     #check for inexact match.
 echo I assume you mean yes
endif
