summaryrefslogtreecommitdiff
path: root/examples/scripts/cat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'examples/scripts/cat.sh')
-rw-r--r--examples/scripts/cat.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/scripts/cat.sh b/examples/scripts/cat.sh
index 78106b2..3e65b3f 100644
--- a/examples/scripts/cat.sh
+++ b/examples/scripts/cat.sh
@@ -1,7 +1,7 @@
shcat()
{
while read -r ; do
- echo "$REPLY"
+ printf "%s\n" "$REPLY"
done
}