]> git.ipfire.org Git - thirdparty/bash.git/blobdiff - examples/scripts/cat.sh
Bash-4.1 distribution source
[thirdparty/bash.git] / examples / scripts / cat.sh
index 78106b2161057165a8bfdaf908b7faf65b01b225..3e65b3fc174f4f9a5c5b315c6596d79156067d26 100644 (file)
@@ -1,7 +1,7 @@
 shcat()
 {
        while read -r ; do
-               echo "$REPLY"
+               printf "%s\n" "$REPLY"
        done
 }