[Mplayer-cvslog] CVS: main/help help_diff.sh,1.5,1.6

Bohdan 'Nexus' Horst CVS nexus at mplayerhq.hu
Fri Jan 3 13:14:37 CET 2003


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

Modified Files:
	help_diff.sh 
Log Message:
FreeBSD fix

Index: help_diff.sh
===================================================================
RCS file: /cvsroot/mplayer/main/help/help_diff.sh,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- help_diff.sh	23 Dec 2002 17:28:19 -0000	1.5
+++ help_diff.sh	3 Jan 2003 12:14:34 -0000	1.6
@@ -9,8 +9,8 @@
 curr=""
 
 while read -r line; do
-	if echo -E "$line" | grep -q '^#define'; then
-		curr=`echo -E "$line" | cut -d ' ' -f 2`
+	if echo "$line" | grep -q '^#define'; then
+		curr=`echo "$line" | cut -d ' ' -f 2`
 		if grep -q "^#define $curr " $1; then
 			curr=""
 		fi
@@ -21,7 +21,7 @@
 	fi
 
 	if [ -n "$curr" ]; then
-		echo -E "$line"
+		echo "$line"
 	fi
 done
 



More information about the MPlayer-cvslog mailing list