"Gary V. Vaughan" <[email protected]> writes: > On 7 Jun 2013, at 08:41, Miles Bader <[email protected]> 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!
I dunno, test here (both coreutils test, and the bash builtin) seems to handle negative numbers just fine using "test $x -gt 0" ... [I suppose maybe there are broken versions of test out there, the usual issue with just about anything in autoconf... typically Sun... >< ] -miles -- `The suburb is an obsolete and contradictory form of human settlement' _______________________________________________ Autoconf mailing list [email protected] https://lists.gnu.org/mailman/listinfo/autoconf
