if [ $# -lt 1 ]; then
  echo "usage: go scrfile [var=value]"
  exit 1
fi
if [ -f $1 ]; then
  echo
else
  echo "cannot find $1"
  exit 1
fi

TDHKIT_CONFIG=
export TDHKIT_CONFIG

if [ "$1" = "Welcome" ]; then
  if [ "$2" != "WELCOME=1" ]; then
    echo "use: gopl Welcome WELCOME=1"
  fi
fi

  
/home/scg/tdhkit/bin/sinterp $* PL=1 > ../manpl/$1
unroff -man ../manpl/$1
mv *.html ../../doc
