diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-19 14:53:43 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2006-08-19 14:53:43 +0000 |
commit | f55f7265174431409975999afc0d581f886be54f (patch) | |
tree | 51161527a2dc607b55335b2770803f9406be79d5 /help/help_diff.sh | |
parent | abe5c26e23d226423cf4a80ac3350bd3af6dc3a3 (diff) | |
download | mpv-f55f7265174431409975999afc0d581f886be54f.tar.bz2 mpv-f55f7265174431409975999afc0d581f886be54f.tar.xz |
Partial sync with message removal from DVD information output change.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19455 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'help/help_diff.sh')
-rwxr-xr-x | help/help_diff.sh | 19 |
1 files changed, 1 insertions, 18 deletions
diff --git a/help/help_diff.sh b/help/help_diff.sh index 2e12951a15..291fe134ad 100755 --- a/help/help_diff.sh +++ b/help/help_diff.sh @@ -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 |