Mercurial > mplayer.hg
view help/help_diff.sh @ 24620:4afe2f93fb20
r22718: add new audio and video codecs to libavcodec list
r22748: add png and gif encoders, how to use them with mencoder is another question
r22749: split sonic into sonic/sonicls and wma into wmav1/wmav2
r22750: add rest of lavc encoders to list (vcr1, cljr, jpegls, ffvhuff, msmpeg4v1)
r22751: gsm requires libgsm so remove it
r22752: aiff isnt there as well, TEST FIRST, THEN DOCUMENT COMPN!
author | kraymer |
---|---|
date | Fri, 28 Sep 2007 01:02:24 +0000 |
parents | 60c71a89cd76 |
children | 3ff3bd9bf0f9 |
line wrap: on
line source
#!/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 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