On Fri, Oct 26, 2001 at 09:12:19AM +0100, Olly Betts wrote: > On Thu, Oct 25, 2001 at 02:43:23PM -0500, Robert Boehne wrote: > > + if test `expr "X$rmfiles" : ".*"` -gt $max_cmd_len; then > > How portable is "test -gt"? The Goat book doesn't list it as a portable > test operator: > > http://sources.redhat.com/autobook/autobook/autobook_216.html
I have some recollection of there being a `test' that has no numeric operations -- hence their absence from the Goat book. Unfortunately I don't recall which platform in particular :-( That said, I see some uses of -gt in autoconf, so I guess that in practice, there are no real users that are affected by this problem any more... Cheers, Gary. -- ())_. Gary V. Vaughan gary@(oranda.demon.co.uk|gnu.org) ( '/ Research Scientist http://www.oranda.demon.co.uk ,_())____ / )= GNU Hacker http://www.gnu.org/software/libtool \' `& `(_~)_ Tech' Author http://sources.redhat.com/autobook =`---d__/ _______________________________________________ Libtool mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/libtool