[Top][All Lists]

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

Re: [Patch #41] Do all rm's in one command with --mode=clean

From: Gary V. Vaughan
Subject: Re: [Patch #41] Do all rm's in one command with --mode=clean
Date: Sun, 28 Oct 2001 00:10:00 +0100
User-agent: Mutt/1.3.16i

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:

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

  ())_. Gary V. Vaughan     gary@(|
  ( '/  Research Scientist       ,_())____
  / )=  GNU Hacker  \'      `&
`(_~)_  Tech' Author   =`---d__/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]