[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 Biurrun diego at biurrun.de
Sat Aug 19 23:00:30 CEST 2006


On Sat, Aug 19, 2006 at 04:53:44PM +0200, diego wrote:
> 
> Modified:
>    trunk/help/help_diff.sh
> 
> Log:
> Partial sync with message removal from DVD information output change.
> 
> --- 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

Ouch, I'm embarassed...

I have a Pepsi light bottle next to me right now, I guess I can start
stockpiling them...

Diego



More information about the MPlayer-cvslog mailing list