# HG changeset patch # User arpi # Date 1023136334 0 # Node ID 7336fdaff773d1162e64ff37af8defb5266ff7e6 # Parent a8cde1a66f6daf6d850894b08644d78efa2ffb1f 2 small fixes diff -r a8cde1a66f6d -r 7336fdaff773 help_diff.sh --- a/help_diff.sh Mon Jun 03 19:21:58 2002 +0000 +++ b/help_diff.sh Mon Jun 03 20:32:14 2002 +0000 @@ -4,7 +4,7 @@ # prints (stdout) only those messages which are missing from the help # file given as parameter ($1). # -# Example: help_mp-en.sh help_mp-hu.h < help_mp-en.h > missing.h +# Example: help_diff.sh help_mp-hu.h < help_mp-en.h > missing.h curr="x" @@ -12,7 +12,7 @@ if ( echo $line | cut -d ' ' -f 1 | grep '^#define' > /dev/null ); then curr=`echo $line | cut -d ' ' -f 2` - if ( grep "$curr " $1 > /dev/null ); then + if ( grep " $curr " $1 > /dev/null ); then curr="x" fi else