summaryrefslogtreecommitdiffstats
path: root/bin/sh/tests/builtins/getopts9.0
diff options
context:
space:
mode:
Diffstat (limited to 'bin/sh/tests/builtins/getopts9.0')
-rw-r--r--bin/sh/tests/builtins/getopts9.04
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/sh/tests/builtins/getopts9.0 b/bin/sh/tests/builtins/getopts9.0
index d23fc43..1c35fc6 100644
--- a/bin/sh/tests/builtins/getopts9.0
+++ b/bin/sh/tests/builtins/getopts9.0
@@ -2,8 +2,8 @@
args='-ab'
getopts ab opt $args
-echo $?:$opt:$OPTARG
+printf '%s\n' "$?:$opt:$OPTARG"
for dummy in dummy1 dummy2; do
getopts ab opt $args
- echo $?:$opt:$OPTARG
+ printf '%s\n' "$?:$opt:$OPTARG"
done
OpenPOWER on IntegriCloud