X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=znew.in;h=e9e173fd68cc8f8cefabae14e5c45ddca829c35b;hb=0095746c83f59e1f45c9e803d61e205ab6cbfa83;hp=dd1c94ae3d2cc4c95cdba25786dba67fc4abd2ae;hpb=8f94ab178da95f87bd131b8faaec313a5d9d672f;p=gzip diff --git a/znew.in b/znew.in index dd1c94a..e9e173f 100755 --- a/znew.in +++ b/znew.in @@ -120,8 +120,8 @@ for i do fi fi test $keep -eq 1 && new=`wc -c < "$n$ext"` - if test $keep -eq 1 -a `expr \( $old + $block - 1 \) / $block` -lt \ - `expr \( $new + $block - 1 \) / $block`; then + if test $keep -eq 1 && test `expr \( $old + $block - 1 \) / $block` -lt \ + `expr \( $new + $block - 1 \) / $block`; then if test $pipe -eq 1; then rm -f "$n$ext" elif test $check -eq 1; then