From 9d8121e9b8f909d90583922a81bd3ea23b3798ea Mon Sep 17 00:00:00 2001 From: David Champion Date: Tue, 11 Aug 2015 11:20:10 -0700 Subject: [PATCH] Fix txt2c.sh sed invocations to use posix syntax. --- txt2c.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/txt2c.sh b/txt2c.sh index e62a82a6..7b337d5f 100755 --- a/txt2c.sh +++ b/txt2c.sh @@ -13,9 +13,9 @@ txt2c_fallback () { sed \ -e 's/\\/\\\\/g' \ -e 's/"/\\"/g' \ - -e 's/??/\?\?/g' \ - -e 's/\t/\\t/'g \ - -e 's/\r/\\r/g' \ + -e 's/??/\\?\\?/g' \ + -e 's/ /\\t/'g \ + -e 's/ /\\r/g' \ -e 's/^/ "/g' \ -e 's/$/\\n"/g' echo ";" -- 2.40.0