7 BASE_URL=`pwd -P | sed 's|/home/\([^/]*\)/public_html/|http://'"$HOST"'/~\1/|'`
13 if head -n 1 "$x" | egrep -q '(xml|XHTML)'; then
14 SP_CHARSET_FIXED=YES SP_ENCODING=XML \
15 SGML_CATALOG_FILES=/usr/share/sgml/declaration/xml.soc \
16 nsgmls -wxml -s "$BASE_URL/$x"
18 nsgmls -s "$BASE_URL/$x"