#!/bin/csh
if ($#argv<1) then
 echo "Usage: clean filename"
 exit(1)
endif
echo "Trying to convert $argv[1]:r.html"
cat $argv[1]:r.html | tidy -latin1 -asxhtml > $argv[1]:r_temp.html
java Transform $argv[1]:r_temp.html $argv[1]:r.html
