#!/bin/sh # Syntax check one or more HTML files given on the command line, using # nsgmls instead of sgmls. # # Usage: # html-ncheck file1.html file2.html ... # # [04-May-1995] H=/usr/local/lib/html-check/lib SGMLS=/usr/local/bin/nsgmls 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