diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-03 20:32:14 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-06-03 20:32:14 +0000 |
commit | 237b5a606f624868f1067544c33e313924e58feb (patch) | |
tree | c8449d0792f67afa4aaf9b4064bf6ccad623a348 /help_diff.sh | |
parent | 8a35e307a76ef80b80283d6cf7697c4c3e3eed91 (diff) | |
download | mpv-237b5a606f624868f1067544c33e313924e58feb.tar.bz2 mpv-237b5a606f624868f1067544c33e313924e58feb.tar.xz |
2 small fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6289 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'help_diff.sh')
-rwxr-xr-x | help_diff.sh | 4 |
1 files 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 |