2 small fixes

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6289 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-06-03 20:32:14 +00:00
parent 8a35e307a7
commit 237b5a606f
1 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
# prints (stdout) only those messages which are missing from the help # prints (stdout) only those messages which are missing from the help
# file given as parameter ($1). # 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" curr="x"
@ -12,7 +12,7 @@ while read -r line ; do
if ( echo $line | cut -d ' ' -f 1 | grep '^#define' > /dev/null ); then if ( echo $line | cut -d ' ' -f 1 | grep '^#define' > /dev/null ); then
curr=`echo $line | cut -d ' ' -f 2` curr=`echo $line | cut -d ' ' -f 2`
if ( grep "$curr " $1 > /dev/null ); then if ( grep " $curr " $1 > /dev/null ); then
curr="x" curr="x"
fi fi
else else