"Fossies" - the Fresh Open Source Software Archive

Member "leafnode-1.12.0/t.validate-xml" (10 Jun 2013, 153 Bytes) of package /linux/misc/leafnode-1.12.0.tar.xz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Bash source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 #! /bin/sh
    2 
    3 DOC=FAQ.xml
    4 
    5 type xmllint >/dev/null 2>&1 || exit 77
    6 a=0
    7 for i in $DOC; do
    8     xmllint --noout --postvalid ${srcdir}/${i}|| a=1
    9 done
   10 exit $a