#!/bin/csh -f
#
# This script updates the help topics list for the helpfiles directory
# the 'cut' grep works on SunOS for sure..but the numbers may change for
# other OS's
#  SunOS is  -c33-79
#  BSDi  is  -c35-79
#  Linux is  -c43-79
#
# -Cygnus

rm topics
touch topics
echo " " >> topics
echo "------------ ---------- Type .help <topic> for more details \!" >> topics 
echo "Last Changed HELP Topic" >> topics
echo "------------ ----------" >> topics
ls -lt [a-z]* | cut -c33-79 | grep -v topics >> topics
echo "------------ ----------" >> topics
echo Done.
