Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 15 lines (10 sloc) 0.353 kb
0d68f8e @ntrel Add scripts folder for any useful scripts to work on code.
ntrel authored
1 #!/bin/sh
2 # Author: Nick Treleaven
3 # License: GPL V2 or later
4 # Usage: check-mnemonics.sh [file list]
5
55a4071 @eht16 Remove bashisms.
eht16 authored
6
7 if [ $# -ge 1 ]; then
8 FILES=$@
0d68f8e @ntrel Add scripts folder for any useful scripts to work on code.
ntrel authored
9 else
55a4071 @eht16 Remove bashisms.
eht16 authored
10 FILES='src/*.c plugins/*.c'
0d68f8e @ntrel Add scripts folder for any useful scripts to work on code.
ntrel authored
11 fi
12
55a4071 @eht16 Remove bashisms.
eht16 authored
13
0d68f8e @ntrel Add scripts folder for any useful scripts to work on code.
ntrel authored
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
Something went wrong with that request. Please try again.