From 237b5a606f624868f1067544c33e313924e58feb Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 3 Jun 2002 20:32:14 +0000 Subject: 2 small fixes git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6289 b3059339-0415-0410-9bf9-f77b7e298cf2 --- help_diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/help_diff.sh b/help_diff.sh index 0f9c88f138..f90e3d007b 100755 --- a/help_diff.sh +++ b/help_diff.sh @@ -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 @@ while read -r line ; do 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 -- cgit v1.2.3