#! /bin/ksh
##########################################################################
##  N.E.C. America                                                      ##
##  Satellite Software Division                                         ##
##                                                                      ##
##        Cklist.tk startup script.                                     ##
##                                                                      ##
##																		##
##        Created Thu Oct 13 16:59:04 CDT 1994 by Monty Scroggins       ##
##																		##
##########################################################################
# set the top level directory for loading the checklist files.  
# set this to your own directory.
#
CKLIST_DIR="/d2/monty/cklist"

case $# in
    1) ;; #do nothing argument count correct
    *) echo  "Usage - cklist <topic>";
       exit;;
esac
if [ ! -d $CKLIST_DIR/$1 ]
  then
    echo "No Such Topic..  Create it ??"
    read confirm
    confirm="`echo $confirm | t\r [A-Z] [a-z] | cut -c1`"
    if ( test "$confirm" = "y" )
    then
      mkdir $CKLIST_DIR/$1
    else 
      exit  
    fi
fi
cd $CKLIST_DIR/$1/
$CKLIST_DIR/cklist.tk &  
 
