Merge pull request #3207 from techee/glob_removal
[geany-mirror.git] / scripts / missing-mnemonics.sh
blobb98f0243635e5d0e4046e40c83ffa69dd34885ac
1 #!/bin/sh
2 # Author: Nick Treleaven
3 # License: GPL V2 or later
4 # Usage: check-mnemonics.sh [file list]
7 if [ $# -ge 1 ]; then
8 FILES=$@
9 else
10 FILES='src/*.c plugins/*.c'
14 fgrep -n 'menu_item_new' $FILES |egrep -v '".*_[a-zA-Z0-9]' |fgrep -v from_stock |fgrep -v '_("No custom commands defined.")' |fgrep -vi '_("invisible")' |egrep '_\(".+' --color