1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00
mpv/help/help_diff.sh
diego f55f726517 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
2006-08-19 14:53:43 +00:00

10 lines
392 B
Bash
Executable File

#!/bin/sh
# This script walks through the master (stdin) help/message file, and
# prints (stdout) only those messages which are missing from the help
# file given as parameter ($1).
#
# Example: help_diff.sh help_mp-hu.h < help_mp-en.h > missing.h
sed "`sed '/^#define *[^ ][^ ]* .*$/!d;s@^#define *\([^ ][^ ]*\) .*$@/^#define *\1 /d@' < help_mp-$1.h ; echo '/^#define/!d'`" < help_mp-en.h