aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDylan Araps <dylan.araps@gmail.com>2026-03-01 18:35:16 +0200
committerDylan Araps <dylan.araps@gmail.com>2026-03-01 18:35:16 +0200
commit0dbc6f7a2ab11488363b78d0c325e81867b26457 (patch)
treea17acc4dd8cd287d82132794f504785e358105d0
parentfe46aade877ab4569a72d580477aa32a55da1bc9 (diff)
embed: maybe fix macOS issue
-rw-r--r--README.txt2
-rwxr-xr-xbin/embed2
2 files changed, 2 insertions, 2 deletions
diff --git a/README.txt b/README.txt
index b724b67..0971a58 100644
--- a/README.txt
+++ b/README.txt
@@ -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
diff --git a/bin/embed b/bin/embed
index 40dc853..15fdde7 100755
--- a/bin/embed
+++ b/bin/embed
@@ -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"