>>> "Paul" == Paul Eggert <[EMAIL PROTECTED]> writes:

 >> From: Alexandre Duret-Lutz <[EMAIL PROTECTED]>
 >> Date: Wed, 26 Jun 2002 18:44:45 +0200

 Clint> if [ -f $src -o -d $src ]
 Clint> This is not strictly POSIX-conformant.  
 >> 
 >> Damn!  Are they removing things between revisions?

 Paul> No, this conformance issue has been in the standard for a decade.  The
 Paul> problem is that different versions of the "test" command assign
 Paul> different priorities to the -o and -a operators, so they're not
 Paul> portable (and POSIX does not standardize them).  This issue is covered
 Paul> in the Autoconf manual.

I don't get it.  The issue that you and the Autoconf manual
describe is that `-a' and `-o' cannot be used *together*.

What Clint suggests (and your patch does) is to never use `-a'
or `-o' *alone*; this makes quite a difference to me.  It would
be worth to document this if this really is a portability issue.

[...]

-- 
Alexandre Duret-Lutz


Reply via email to