projects
/
mailer.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
20aedf2a56f481a6cfea804373d0a952af12fcf4
[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}" | \
6
grep "Warning" | \
7
cut -d "/" -f 1-5 | \
8
grep -v "error parsing attribute name" > `dirname $0`/template-warnings.log
9
echo "$0: done."