#!  /bin/csh
########################################################################
#                 copyright 2001, Amoco Production Company             #
#                             All Rights Reserved                      #
#                     an affiliate of BP America Inc.                  #
########################################################################

foreach i  ($argv)
echo $i
echo $i > tmp1
cut -d"." -f1 tmp1 >tmp
set NM = `cat tmp`
echo "NM =  " $NM
nroff -man $i | col -b  > ../help1/$NM.help
rm tmp tmp1
end
