Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

executable file 15 lines (10 sloc) 0.353 kB
#!/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
Jump to Line
Something went wrong with that request. Please try again.