#! /bin/ksh

sed '
	s/<table[^>]*>/<DL compact>/
	s/<\/table[^>]*>/<\/DL>/
	s/<tr>/<DT>/
	s/<td[^>]*>/<DD>/
	s/<th[^>]*>/<DD>/
	' $*
