for i in `ls *.html` 
do
ed $i <<!
,s%[.][.]/%%g
w
q
!
done