mirror of
https://github.com/mpv-player/mpv
synced 2024-12-17 20:34:58 +00:00
f55f726517
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19455 b3059339-0415-0410-9bf9-f77b7e298cf2
10 lines
392 B
Bash
Executable File
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
|