for i in *.html
do
java TM "<head>" "<TITLE>" "</TITLE>" $i
done