From: PLR Date: Tue, 17 Nov 2015 18:42:06 +0000 (-0800) Subject: fix ignored `echo -n ..` by piping through `tr -d ..` X-Git-Url: https://git.owens.tech/assets/favicon.png/assets/favicon.png/git?a=commitdiff_plain;h=77301a20ddfc60baf0ff40b02c2a964b1a27909c;p=vimb.git fix ignored `echo -n ..` by piping through `tr -d ..` --- diff --git a/src/js2h.sh b/src/js2h.sh index d4d1f1a..f849e85 100755 --- a/src/js2h.sh +++ b/src/js2h.sh @@ -1,6 +1,6 @@ #!/bin/sh -echo -n '#define HINTS_JS "' +echo '#define HINTS_JS "' | tr -d '\n' cat $1 | \ tr '\n\r\t' ' ' | \ sed -e 's:/\*[^*]*\*/::g' \