]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Document that ${10} is not portable.
authorStepan Kasal <kasal@ucw.cz>
Fri, 21 Oct 2005 05:46:49 +0000 (05:46 +0000)
committerStepan Kasal <kasal@ucw.cz>
Fri, 21 Oct 2005 05:46:49 +0000 (05:46 +0000)
ChangeLog
doc/autoconf.texi

index 846381ee14aec88aa025c08743ea0ef8864025c1..179313c0d2c9755322b2499cb8bc645163b53968 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,12 +1,15 @@
+2005-10-20  Stepan Kasal  <kasal@ucw.cz>
+
+       * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is
+       not portable; thanks to Paul Eggert and Alexandre.
+
+       * NEWS: Fix an old typo.
+
 2005-10-20  Jim Meyering  <jim@meyering.net>
 
        * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of
        the latter'', in two places.
 
-2005-10-20  Stepan Kasal  <kasal@ucw.cz>
-
-       * NEWS: Fix an old typo.
-
 2005-10-19  Paul Eggert  <eggert@cs.ucla.edu>
 
        * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS ->
index 254984de7193271af4e21fc7401e7bfb4ceebd7c..3b75db505c4cb06a64b2fc7bb3b885376ea31a82 100644 (file)
@@ -6701,7 +6701,7 @@ therefore as much as possible you ought to avoid using them to wrap
 your code, rather, require from the user to run the macro with a
 correct current language, and check it with @code{AC_LANG_ASSERT}.
 And anyway, that may help the user understand she is running a Fortran
-macro while expecting a result about her Fortran 77 compiler...
+macro while expecting a result about her Fortran 77 compiler@dots{}
 @end defmac
 
 
@@ -10328,6 +10328,19 @@ case $# in
 esac
 @end example
 
+
+@item $@{10@}
+@cindex positional parameters
+The 10th, 11th, @dots{} positional parameters can be accessed only after
+a @code{shift}.  The 7th edition shell reported an error if given @code{$@{10@}};
+Solaris 10 @command{/bin/sh} still acts that way:
+
+@example
+$ @kbd{set 1 2 3 4 5 6 7 8 9 10}
+$ @kbd{echo $@{10@}}
+bad substitution
+@end example
+
 @item $@{@var{var}:-@var{value}@}
 @c Info cannot handle `:' in index entries.
 @c @cindex $@{@var{var}:-@var{value}@}
@@ -15812,7 +15825,7 @@ this scheme helps supporting more languages than plain C and C++.
 
 In addition to the change of syntax, the philosphy has changed too:
 while emphasis was put on speed at the expense of accuracy, today's
-Autoconf promotes accuracy of the testing framework at, ahem..., the
+Autoconf promotes accuracy of the testing framework at, ahem@dots{}, the
 expense of speed.