#!/bin/sh
# This is a simple script to hide the details of running
# the sgmls parser on one or most HTML files.
# 
# Usage:
#	html-check html-file(s)
#
# [02-Nov-1999]

# We expect the library to be found at a standard place
# relative to this file:
H=`dirname $0`/../share/lib/html-check/lib

for i in $*; do
  echo $i ... 1>&2		# show file name on STDERR
  sgmls -s -m $H/catalog $H/html.decl $i && echo '... valid' 1>&2
done
