2 # hal-fdi-validate.sh : Validate one or more fdi(4) files
4 # Copyright 2006 Sun Microsystems, Inc. All rights reserved.
5 # Use is subject to license terms.
7 # Licensed under the Academic Free License version 2.1
9 # ident "%Z%%M% %I% %E% SMI"
13 echo "Usage: hal-fdi-validate [-f dtd] file [file ...]"
17 if [ "$1" = "-f" ]; then
18 if [ "foo$2" != "foo" ] ; then
25 DTD
="/usr/share/lib/xml/dtd/fdi.dtd.1"
32 xmllint
--noout --dtdvalid $DTD $
*