#! /bin/ksh

for i in */.*.html
do
	new=`echo $i | sed '
		s/[.]index//
		s/\///
		s/^/./'`
	ln -s $i $new
done
