From MAILER-DAEMON Thu May 05 10:33:42 2011
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1QHzcc-0006zp-6n
	for mharc-autoconf-commit@gnu.org; Thu, 05 May 2011 10:33:42 -0400
Received: from eggs.gnu.org ([140.186.70.92]:54821)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1QHzcZ-0006zL-BD
	for autoconf-commit@gnu.org; Thu, 05 May 2011 10:33:40 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1QHzcV-0003Fi-AN
	for autoconf-commit@gnu.org; Thu, 05 May 2011 10:33:39 -0400
Received: from colonialone.fsf.org ([140.186.70.51]:38067)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1QHzcV-0003Fc-7E
	for autoconf-commit@gnu.org; Thu, 05 May 2011 10:33:35 -0400
Received: from [10.1.0.108] (helo=vcs-noshell.in.savannah.gnu.org)
	by colonialone.fsf.org with esmtp (Exim 4.69)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1QHzcU-0003g2-RB
	for autoconf-commit@gnu.org; Thu, 05 May 2011 14:33:35 +0000
Received: from ericb by vcs-noshell.in.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1QHzcT-0005Nu-D4
	for autoconf-commit@gnu.org; Thu, 05 May 2011 14:33:34 +0000
Date: Thu, 05 May 2011 14:33:33 +0000
Message-Id: <E1QHzcT-0005Nu-D4@vcs-noshell.in.savannah.gnu.org>
From: "Eric Blake" <eblake@redhat.com>
To: autoconf-commit@gnu.org
Subject: [SCM] GNU Autoconf source repository branch, master,
	updated. v2.68-68-g2105ae9
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 5daf0f340412e5733da4e3e474ebbb867c2ebf86
X-Git-Newrev: 2105ae97000c7c77442b3a788c90d8fee63bd2b3
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.51
X-BeenThere: autoconf-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
Reply-To: autoconf-patches@gnu.org
List-Id: Commits to the Autoconf git repository <autoconf-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/autoconf-commit>
List-Post: <mailto:autoconf-commit@gnu.org>
List-Help: <mailto:autoconf-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/autoconf-commit>,
	<mailto:autoconf-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Thu, 05 May 2011 14:33:40 -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=2105ae97000c7c77442b3a788c90d8fee63bd2b3

The branch, master has been updated
       via  2105ae97000c7c77442b3a788c90d8fee63bd2b3 (commit)
      from  5daf0f340412e5733da4e3e474ebbb867c2ebf86 (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 2105ae97000c7c77442b3a788c90d8fee63bd2b3
Author: Eric Blake <eblake@redhat.com>
Date:   Thu May 5 08:29:21 2011 -0600

    doc: document dash bug with positional parameters
    
    * doc/autoconf.texi (Shell Substitutions) <${10}>: Document
    a pitfall with $10.
    
    Signed-off-by: Eric Blake <eblake@redhat.com>

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

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

diff --git a/ChangeLog b/ChangeLog
index 14abf51..1fca7bb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2011-05-05  Eric Blake  <eblake@redhat.com>
+
+	doc: document dash bug with positional parameters
+	* doc/autoconf.texi (Shell Substitutions) <${10}>: Document
+	a pitfall with $10.
+
 2011-04-27  Eric Blake  <eblake@redhat.com>
 
 	docs: document NetBSD join bug
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index b466e56..7ff693f 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -15846,6 +15846,18 @@ $ @kbd{echo $@{10@}}
 bad substitution
 @end example
 
+Conversely, not all shells obey the Posix rule that when braces are
+omitted, multiple digits beyond a @samp{$} imply the single-digit
+positional parameter expansion concatenated with the remaining literal
+digits.  To work around the issue, you must use braces.
+
+@example
+$ @kbd{bash -c 'set a b c d e f g h i j; echo $10 $@{1@}0'}
+a0 a0
+$ @kbd{dash -c 'set a b c d e f g h i j; echo $10 $@{1@}0'}
+j a0
+@end example
+
 @item $@{@var{var}:-@var{value}@}
 @c Info cannot handle `:' in index entries.
 @ifnotinfo


hooks/post-receive
-- 
GNU Autoconf source repository


