autoconf-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Autoconf source repository branch, master, updated. v2.68-8-g8


From: Paul Eggert
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-8-g89ce53b
Date: Tue, 26 Oct 2010 23:13:38 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".

http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=89ce53b3a0baafaccef80c2462bbed799169c759

The branch, master has been updated
       via  89ce53b3a0baafaccef80c2462bbed799169c759 (commit)
      from  b42491e3237735a9d31f6578ca4887f8be6b6742 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 89ce53b3a0baafaccef80c2462bbed799169c759
Author: Paul Eggert <address@hidden>
Date:   Tue Oct 26 16:12:46 2010 -0700

    docs: Posix now says "((cat))" isn't portable
    
    * doc/autoconf.texi (Parenthesis): Update documentation to reflect
    what Posix 1003.1-2008 says about "((".

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    6 ++++++
 doc/autoconf.texi |    9 ++++++---
 2 files changed, 12 insertions(+), 3 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 34b3be4..6f9e4c9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-10-26  Paul Eggert  <address@hidden>
+
+       docs: Posix now says "((cat))" isn't portable
+       * doc/autoconf.texi (Parenthesis): Update documentation to reflect
+       what Posix 1003.1-2008 says about "((".
+
 2010-10-20  Eric Blake  <address@hidden>
 
        docs: document dash bug in <>
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index adbdded..4af8663 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -16046,12 +16046,15 @@ for the rationale.
 @cindex Shell parentheses
 
 Beware of two opening parentheses in a row, as many shell
-implementations treat them specially.  Posix requires that the command
address@hidden((cat))} must behave like @samp{(cat)}, but many shells, including
+implementations treat them specially, and Posix says that a portable
+script cannot use @samp{((} outside the @samp{$((} form used for shell
+arithmetic.  In traditional shells, @samp{((cat))} behaves like
address@hidden(cat)}; but many shells, including
 Bash and the Korn shell, treat @samp{((cat))} as an arithmetic
 expression equivalent to @samp{let "cat"}, and may or may not report an
 error when they detect that @samp{cat} is not a number.  As another
-example, @samp{pdksh} 5.2.14 misparses the following code:
+example, @samp{pdksh} 5.2.14 does not treat the following code
+as a traditional shell would:
 
 @example
 if ((true) || false); then


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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