According to Dmitry V. Levin on 2/1/2010 3:35 PM:
>       (eval "$grep" 4>&-; echo $? >&4) 3>&- | sed "$sed_script" >&3 4>&-
> -      ) || r=2
> -      exit $r
> +      ) && exit $r
> +      r=$?
> +      test $r -gt 128 -a $r -le 143 && exit $r || exit 2

'test x -a y' is not portable.  Use test x && test y.

-- 
Don't work too hard, make some time for fun as well!

Eric Blake             e...@byu.net

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to