Re: process result code in if

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 7 Jun 2013, at 08:41, Miles Bader <miles@xxxxxxx> wrote:
> Wait, why can't you use "test $x -gt 0"...?

You mean "test 0 -lt $x", otherwise if x starts with a hyphen (e.g -1) things will go awry!

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf




[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux