Forked from hoekiesda/oxid_find-multilangkeys-without-translationstring.sh
Last active
December 1, 2015 13:30
-
-
Save kermie/da7a15d7efd2b50ae25f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
grep -R --include=*.tpl '\boxmultilang\b' tpl/ | sed -r "s/ident=([^$])/\\nident=\1/g" | grep ^ident= | sed -r 's/}.*$//' | tr "'" '"' | sort -u | while read LINE; do KEY=$(echo "$LINE" | awk -F'"' '{print$2}'); echo -e $LINE"\t"$KEY"\t"$(grep -Rl --include=*.php $KEY ./ | wc -l); done | grep 0$ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment