#/bin/sh
     # Scriptname: trapping
     # Script to illustrate the trap command and signal    
	 
	trap 'echo "CtrlC will not interupt this process

    trap 'echo "CtrlD will not terminate this process

    echo "Enter any string after the prompt."
     echo "When you are ready to exit, type \"stop\"."
    while true
     do
         echo  n "Go ahead...> "
         read reply
        if [ "$reply" = stop ]
         then
          break
         if
done
