summaryrefslogtreecommitdiffstats
path: root/help
diff options
context:
space:
mode:
Diffstat (limited to 'help')
-rwxr-xr-xhelp/help_diff.sh4
1 files changed, 2 insertions, 2 deletions
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