0d68f8e2df
These scripts are not distributed with Geany, and are only in SVN. Add changelist.pl to group and reverse ChangeLog entries, useful for writing NEWS. Add missing-mnemonics.sh, to search for missing menu item mnemonics. git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2433 ea778897-0a13-0410-b9d1-a72fbfd435f5
13 lines
353 B
Bash
Executable File
13 lines
353 B
Bash
Executable File
#!/bin/sh
|
|
# Author: Nick Treleaven
|
|
# License: GPL V2 or later
|
|
# Usage: check-mnemonics.sh [file list]
|
|
|
|
if [[ $1 == '' ]]; then
|
|
FILES='src/*.c plugins/*.c'
|
|
else
|
|
FILES=$1
|
|
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
|