projects
/
vimb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92cac52
)
Remove also whitespace around *%/[.
author
Daniel Carl
<danielcarl@gmx.de>
Fri, 12 May 2017 23:29:49 +0000
(
01:29
+0200)
committer
Daniel Carl
<danielcarl@gmx.de>
Fri, 12 May 2017 23:29:49 +0000
(
01:29
+0200)
src/scripts/js2h.sh
patch
|
blob
|
history
diff --git
a/src/scripts/js2h.sh
b/src/scripts/js2h.sh
index
18aa586
..
81425fc
100755
(executable)
--- a/
src/scripts/js2h.sh
+++ b/
src/scripts/js2h.sh
@@
-27,7
+27,7
@@
tr '\n\r' ' ' | \
sed -e 's:/\*[^*]*\*/::g' \
-e 's|[ ]\{2,\}| |g' \
-e 's|^ ||g' \
- -e "s|[ ]\{0,\}\([-!?<>:=(){};+\&\"',\|]\)[ ]\{0,\}|\1|g" \
+ -e "s|[ ]\{0,\}\([-
*[%/
!?<>:=(){};+\&\"',\|]\)[ ]\{0,\}|\1|g" \
-e 's|"+"||g' | \
# ecaspe
sed -e 's|\\x20| |g' \