2005-10-20 Stepan Kasal * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is not portable; thanks to Paul Eggert and Alexandre. Index: doc/autoconf.texi =================================================================== RCS file: /cvsroot/autoconf/autoconf/doc/autoconf.texi,v retrieving revision 1.930 diff -u -r1.930 autoconf.texi --- doc/autoconf.texi 19 Oct 2005 22:35:51 -0000 1.930 +++ doc/autoconf.texi 20 Oct 2005 06:29:33 -0000 @@ -6701,7 +6701,7 @@ 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 address@hidden @end defmac @@ -10328,6 +10328,19 @@ esac @end example + address@hidden address@hidden@}, etc. + +The 10th, 11th, @dots{} positional parameters can be accessed only after +a @code{shift}. The 7th edition shell reported an error if given @address@hidden@}}; +Solaris 10 /bin/sh still acts that way: + address@hidden +$ @kbd{set 1 2 3 4 5 6 7 8 9 10} +$ @kbd{echo address@hidden@}} +bad substitution address@hidden example + @item address@hidden@var{var}:address@hidden@} @c Info cannot handle `:' in index entries. @c @cindex address@hidden@var{var}:address@hidden@} @@ -15812,7 +15825,7 @@ 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, address@hidden, the expense of speed.