From 9d2c26048848c8e0ad4a201f592fda3c2702cc47 Mon Sep 17 00:00:00 2001 From: corey Date: Fri, 18 Aug 2006 02:23:44 +0000 Subject: replace echo with printf; fixes compilation when shell is dash and language is not English git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19435 b3059339-0415-0410-9bf9-f77b7e298cf2 --- help/help_diff.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'help') diff --git a/help/help_diff.sh b/help/help_diff.sh index 214d402bb1..2e12951a15 100755 --- a/help/help_diff.sh +++ b/help/help_diff.sh @@ -10,7 +10,7 @@ curr="" while read -r line; do if echo "$line" | grep '^#define' > /dev/null 2>&1; then - curr=`echo "$line" | cut -d ' ' -f 2` + curr=`printf "%s\n" "$line" | cut -d ' ' -f 2` if grep "^#define $curr[ ]" $1 > /dev/null 2>&1; then curr="" fi @@ -21,6 +21,6 @@ while read -r line; do fi if [ -n "$curr" ]; then - echo "$line" + printf "%s\n" "$line" fi done -- cgit v1.2.3