#!/bin/sh
TOP=$HOME/doc/xmosaic/tcl/w3g
if [ $# -eq 0 ] ; then
echo "need dir to copy fm"
echo "how about ~/src/ftp/tcl/tcl7.1/doc"
exit 1
fi
fdir=$1
for i in $fdir/*
do
if [ -d $i ] ; then
continue
fi
if [ ! -f $i ] ; then
echo "No files in $fdir"
echo "exiting..."
exit 2
fi
fto=`basename $i`
echo "$fto.html"
$TOP/tk2html $i >$fto.html
done