#!/bin/sh

LIST=`ls *.html`

for i in $LIST ;
do

j=`echo $i | cut -d"." -f 1`
html2text -nobs $i | sed -e "/sq km/s//km/g" > $j.pre
./reformat $j.pre
rm -f $j.pre

done
