Re: Possible bug in Makefile 3.81

2007-11-26 Thread Olly Betts
On 2007-11-21, Karl Berry <[EMAIL PROTECTED]> wrote: > Since there is no reason to prefer [, it is good to keep using test, > because of the quoting, and for consistency with all the existing code > that does so. Using `[' is better in a particular case in makefiles - there the Solaris VPATH rewri

Re: Possible bug in Makefile 3.81

2007-11-20 Thread Karl Berry
My understanding is that [ and test have been synonyms for a long time, Well, they were always "synonyms" in the sense that they were (typically, at least) hard links to each other. But the behavior obviously differs; [ has to strip a trailing ] argument. There were bugs in that parsing

Re: Possible bug in Makefile 3.81

2007-11-06 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Karl Berry on 11/6/2007 5:27 PM: [adding autoconf, since the autoconf manual likes documenting these things] > Are there still Unixen for which [ is not portable? > > Portability isn't the problem with [. It's parsing. > > [ -n "$