~ubuntu-dev/mplayer/ubuntu-feisty

« back to all changes in this revision

Viewing changes to help/help_diff.sh

  • Committer: William Grant
  • Date: 2007-02-03 03:16:07 UTC
  • mto: This revision was merged to the branch mainline in revision 16.
  • Revision ID: william.grant@ubuntu.org.au-20070203031607-08gc2ompbz6spt9i
Update to 1.0rc1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
 
11
11
while read -r line; do
12
12
        if echo "$line" | grep '^#define' > /dev/null 2>&1; then
13
 
                curr=`echo "$line" | cut -d ' ' -f 2`
 
13
                curr=`printf "%s\n" "$line" | cut -d ' ' -f 2`
14
14
                if grep "^#define $curr[         ]" $1 > /dev/null 2>&1; then
15
15
                        curr=""
16
16
                fi
21
21
        fi
22
22
 
23
23
        if [ -n "$curr" ]; then
24
 
                echo "$line"
 
24
                printf "%s\n" "$line"
25
25
        fi
26
26
done