#sccs	"@(#)practice:tutor	1.1"

cd /u/$LOGNAME/Filecabinet

if test $# -ne 0
then if test ! -d /usr/practice/practice.$1
     then cat /usr/practice/tutor.err
          exit
     fi
     if test $LOGNAME = tutor
     then cat /usr/practice/tutor.err2
          exit
     fi
fi

if  test -d practice 
then cat /usr/practice/tutor.rst
     cd practice
     if  test $LOGNAME = tutor
     then cp /usr/practice/*.hlp/* .
     else cp /usr/practice/*$1/* .
     fi
else cat /usr/practice/tutor.msg
     mkdir practice
     cd practice
     if test $LOGNAME = tutor
     then cp /usr/practice/*.hlp/* .
     else cp /usr/practice/*$1/* .
     fi 
fi
exit 0
