#!/bin/sh
#	$Id: maketoc,v 1.2 2000-05-09 17:04:19 steve Exp $
#	maketoc file...
#
#	Use the toc.ts tagset to add or update a table of contents in an
#	HTML or XML document or set of documents. 
#
for f in $*; do
  if [ -f $f.bak ]; then
     rm $f.bak
  fi
  mv $f $f.bak
  process -t toc $f.bak > $f
done
