#! /bin/sh# This test script validates all *.html files as XHTML.set-e
e=0fail=IFS=$(printf'\n\t')foriin"${srcdir}"/*.html;doxmllint--postvalid--noout"$i"||{e=1;fail="$i${fail:+" "}$fail";}doneif[$e!=0];thenecho>&2">>>>> Invalid XHTML in files: ${fail}."fiexit$e