Add script to validate all entries.html files
This commit is contained in:
10
validate_html.sh
Executable file
10
validate_html.sh
Executable file
@ -0,0 +1,10 @@
|
|||||||
|
#
|
||||||
|
# check that all the html files are valid xml
|
||||||
|
# sudo apt install libxml2-utils
|
||||||
|
# no output = pass
|
||||||
|
# zzz 1/23
|
||||||
|
#
|
||||||
|
for i in `find -name *.html`
|
||||||
|
do
|
||||||
|
xmllint $i > /dev/null || echo "FAIL $i"
|
||||||
|
done
|
Reference in New Issue
Block a user