wok-6.x diff sokojs/stuff/shrink.sh @ rev 25515
Update qemu website
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Feb 19 09:52:04 2023 +0000 (19 months ago) |
parents | 8db826af003e |
children |
line diff
1.1 --- a/sokojs/stuff/shrink.sh Sun Feb 27 10:47:38 2022 +0000 1.2 +++ b/sokojs/stuff/shrink.sh Sun Feb 19 09:52:04 2023 +0000 1.3 @@ -6,7 +6,7 @@ 1.4 sed -i 's|.*//!||' $@ ;; 1.5 *) for file in $@ ; do 1.6 [ -s "$file" ] || continue 1.7 - grep -q '//!' && continue 1.8 + grep -q '//!' "$file" && continue 1.9 awk 'BEGIN { begin=9999; end=9999; tab=" " } 1.10 function scan(s) { 1.11 i=2