"Gary V. Vaughan" <g...@gnu.org> writes: > On 7 Jun 2013, at 08:41, Miles Bader <mi...@gnu.org> 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 Autoconf@gnu.org https://lists.gnu.org/mailman/listinfo/autoconf