Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 15 lines (10 sloc) 353 Bytes
#!/bin/sh
# Author: Nick Treleaven
# License: GPL V2 or later
# Usage: check-mnemonics.sh [file list]
if [ $# -ge 1 ]; then
FILES=$@
else
FILES='src/*.c plugins/*.c'
fi
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
Something went wrong with that request. Please try again.