3
6
# Simple script to find unused message strings by Michal Čihař
8
12
| grep -Ev '^str(Transformation_|ShowStatus)' | sort -u > $tmp1
9
13
grep -ho '\<str[A-Z][a-zA-Z0-9_]*\>' `find . -type f -a -name '*.php' -a -not -path '*/lang/*'` \
12
16
echo Please note that you need to check results of this script, it doesn\'t
13
17
echo understand PHP, it only tries to find what looks like message name.