Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save kermie/da7a15d7efd2b50ae25f to your computer and use it in GitHub Desktop.
Save kermie/da7a15d7efd2b50ae25f to your computer and use it in GitHub Desktop.
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