[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:
>
> 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__/
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/22
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/23
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/23
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/24
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Jeff Dubrule, 2001/10/24
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/25
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Olly Betts, 2001/10/26
- Re: [Patch #41] Do all rm's in one command with --mode=clean,
Gary V. Vaughan <=
- Re: [Patch #41] Do all rm's in one command with --mode=clean, Robert Boehne, 2001/10/29