6b6e8270bf3bf44299027004dfdda1a3f8cd7f06
[mailer.git] / DOCS / validator.sh
1 #!/bin/sh
2
3 echo "$0: Validating all templates..."
4 DUMMY=`find templates/de/html/ -type f -name *.tpl -exec php DOCS/tpl-validator.php {} \; 2>&1`
5 echo "${DUMMY}" | grep "Warning" | cut -d "/" -f 1-5 | grep -v "error parsing attribute name" > `dirname $0`/template-warnings.log
6 echo "$0: done."
7