projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
22e246a
)
fix ignored `echo -n ..` by piping through `tr -d ..`
author
PLR
<plredmond@gmail.com>
Tue, 17 Nov 2015 18:42:06 +0000
(10:42 -0800)
committer
PLR
<plredmond@gmail.com>
Tue, 17 Nov 2015 18:42:06 +0000
(10:42 -0800)
src/js2h.sh
patch
|
blob
|
history
diff --git
a/src/js2h.sh
b/src/js2h.sh
index
d4d1f1a
..
f849e85
100755
(executable)
--- 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' \