Skip to content

Instantly share code, notes, and snippets.

@hawx
Created July 18, 2023 14:14
Show Gist options
  • Save hawx/b4bbebc16cc7ab300276212c4e62f30f to your computer and use it in GitHub Desktop.
Save hawx/b4bbebc16cc7ab300276212c4e62f30f to your computer and use it in GitHub Desktop.
#!/usr/bin/env sh
for k in `cat lang/en.json | jq -r 'keys|join("\n")'`;
do
COUNT=`git grep $k | grep -v '.json:' | wc -l`
if [ $COUNT = 0 ]; then
echo $k
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment