From 2c61c19f80e21743ef36bc53597ba893d4836dfc Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 6 Aug 2015 04:14:20 -0400 Subject: fix non-portable `echo -n` usage These scripts use #!/bin/sh explicitly, so make sure they avoid echo -n as different shells treat it differently. Use the portable printf func instead. --- iconvdata/tst-tables.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'iconvdata') diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh index 73d9400..cd81a7f 100755 --- a/iconvdata/tst-tables.sh +++ b/iconvdata/tst-tables.sh @@ -261,7 +261,7 @@ EOF while read charset charmap; do if test "$charset" = GB18030; then echo "This might take a while" 1>&2; fi case ${charset} in \#*) continue;; esac - echo -n "Testing ${charset}" 1>&2 + printf %s "Testing ${charset}" 1>&2 if ./tst-table.sh ${common_objpfx} ${objpfx} "${test_program_prefix}" \ ${charset} ${charmap} < /dev/null; then echo 1>&2 -- cgit v1.1