wok-6.x rev 24570
sokojs: add shrink.sh (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Feb 26 21:49:28 2022 +0000 (2022-02-26) |
parents | 36a1e6790d10 |
children | 33b1bc3e872a |
files | sokojs/stuff/shrink.sh |
line diff
1.1 --- a/sokojs/stuff/shrink.sh Sat Feb 26 18:46:53 2022 +0000 1.2 +++ b/sokojs/stuff/shrink.sh Sat Feb 26 21:49:28 2022 +0000 1.3 @@ -47,7 +47,7 @@ 1.4 print "document.write(\"<INPUT TYPE=\\\"button\\\" value=\\\"" n "\\\">\", //!" $0 1.5 n=0 1.6 } 1.7 - else print }' < $file > $file.$$ 1.8 + else print }' < $file | sed 's|"")|")|' > $file.$$ 1.9 mv -f $file.$$ $file 1.10 done ;; 1.11 esac