diff options
| -rw-r--r-- | README.txt | 2 | ||||
| -rwxr-xr-x | bin/embed | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -45,7 +45,7 @@ ________________________________________________________________________________ Required: - POSIX shell -- POSIX cat, cp, date, mkdir, printf, rm, sed +- POSIX cat, cp, date, mkdir, printf, rm - POSIX make - POSIX libc - C99 compiler @@ -36,6 +36,6 @@ s() { while IFS= read -r l; do case $l in [!#]*) s "$l" \" "__EMBED_$$_QUOTE__" \\ "__EMBED_$$_SLASH__" \ "__EMBED_$$_QUOTE__" \\\" "__EMBED_$$_SLASH__" \\\\ - echo "\"$x\\n\"" + printf '"%s\\n"' "$x" esac done < "$1" |