Re: "The `-a', `-o', `(', and `)' operands are not portable": please clarify

2009-08-04 Thread Eric Blake
> What I'd like therefore is a rationale: if -a, -o and parentheses are > not in POSIX 1990, please say so They are only listed as XSI extensions in older POSIX. Not all shells implemented XSI extensions (think of debian's posh), and even among those that did, the choices for order of precedence

Minor type in autoconf.texi

2009-08-04 Thread Jeff Squyres
I noticed this today; I'm pretty sure it's a simple typo: --- autoconf.texi.~1~ 2009-07-26 22:56:10.0 -0400 +++ autoconf.texi 2009-08-04 17:59:56.0 -0400 @@ -13454,8 +13454,8 @@ if test -z "$SEEN_A" ; then echo bug ; fi]]) AC_DEFUN([TESTC], [AC_REQUIRE([TESTB])[echo in C

Re: "The `-a', `-o', `(', and `)' operands are not portable": please clarify

2009-08-04 Thread Reuben Thomas
2009/8/4 Eric Blake : >> What I'd like therefore is a rationale: if -a, -o and parentheses are >> not in POSIX 1990, please say so > > [beautiful rationale from Eric] Thanks Eric. Could a brief summary of this go in the manual? Something like: "widely unimplemented and deprecated in POSIX 2008"

"The `-a', `-o', `(', and `)' operands are not portable": please clarify

2009-08-04 Thread Reuben Thomas
This assertion about the "test" command/shell built in occurs in the node "Limitations of Builtins" in the autoconf manual, and puzzles me, since the mentioned features are all mentioned in sh(1posix), i.e. they have been in POSIX since at least 2001. I understand their use being discouraged if the