[Mplayer-cvslog] CVS: main help_diff.sh,1.2,1.3

Arpi of Ize arpi at mplayerhq.hu
Mon Jun 3 22:32:16 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv4257

Modified Files:
	help_diff.sh 
Log Message:
2 small fixes


Index: help_diff.sh
===================================================================
RCS file: /cvsroot/mplayer/main/help_diff.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- help_diff.sh	3 Jun 2002 18:03:29 -0000	1.2
+++ help_diff.sh	3 Jun 2002 20:32:14 -0000	1.3
@@ -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




More information about the MPlayer-cvslog mailing list