From: David Champion Date: Tue, 11 Aug 2015 18:20:10 +0000 (-0700) Subject: Fix txt2c.sh sed invocations to use posix syntax. X-Git-Tag: neomutt-20160307~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0d0dde1aa7345674b80732243127941abba85960;p=neomutt Fix txt2c.sh sed invocations to use posix syntax. --- diff --git a/txt2c.sh b/txt2c.sh index e62a82a6e..7b337d5fe 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 ";"