[MPlayer-cvslog] r19455 - in trunk/help: help_diff.sh help_mp-bg.h help_mp-cs.h help_mp-de.h help_mp-dk.h help_mp-el.h help_mp-es.h help_mp-fr.h help_mp-hu.h help_mp-it.h help_mp-ja.h help_mp-ko.h help_mp-mk.h help_mp-nl.h help_mp-no.h help_mp-pl.h help_mp-pt_BR.h help_mp-ro.h help_mp-ru.h help_mp-sk.h help_mp-sv.h help_mp-tr.h help_mp-uk.h help_mp-zh_CN.h help_mp-zh_TW.h
diego
subversion at mplayerhq.hu
Sat Aug 19 16:53:44 CEST 2006
Author: diego
Date: Sat Aug 19 16:53:43 2006
New Revision: 19455
Modified:
trunk/help/help_diff.sh
Changes in other areas also in this revision:
Modified:
trunk/help/help_mp-bg.h
trunk/help/help_mp-cs.h
trunk/help/help_mp-de.h
trunk/help/help_mp-dk.h
trunk/help/help_mp-el.h
trunk/help/help_mp-es.h
trunk/help/help_mp-fr.h
trunk/help/help_mp-hu.h
trunk/help/help_mp-it.h
trunk/help/help_mp-ja.h
trunk/help/help_mp-ko.h
trunk/help/help_mp-mk.h
trunk/help/help_mp-nl.h
trunk/help/help_mp-no.h
trunk/help/help_mp-pl.h
trunk/help/help_mp-pt_BR.h
trunk/help/help_mp-ro.h
trunk/help/help_mp-ru.h
trunk/help/help_mp-sk.h
trunk/help/help_mp-sv.h
trunk/help/help_mp-tr.h
trunk/help/help_mp-uk.h
trunk/help/help_mp-zh_CN.h
trunk/help/help_mp-zh_TW.h
Log:
Partial sync with message removal from DVD information output change.
Modified: trunk/help/help_diff.sh
==============================================================================
--- trunk/help/help_diff.sh (original)
+++ trunk/help/help_diff.sh Sat Aug 19 16:53:43 2006
@@ -6,21 +6,4 @@
#
# Example: help_diff.sh help_mp-hu.h < help_mp-en.h > missing.h
-curr=""
-
-while read -r line; do
- if echo "$line" | grep '^#define' > /dev/null 2>&1; then
- curr=`printf "%s\n" "$line" | cut -d ' ' -f 2`
- if grep "^#define $curr[ ]" $1 > /dev/null 2>&1; then
- curr=""
- fi
- else
- if [ -z "$line" ]; then
- curr=""
- fi
- fi
-
- if [ -n "$curr" ]; then
- printf "%s\n" "$line"
- fi
-done
+sed "`sed '/^#define *[^ ][^ ]* .*$/!d;s@^#define *\([^ ][^ ]*\) .*$@/^#define *\1 /d@' < help_mp-$1.h ; echo '/^#define/!d'`" < help_mp-en.h
More information about the MPlayer-cvslog
mailing list