* doc/autoconf.texi (Shell Substitutions) <${10}>: Document
a pitfall with $10.
Signed-off-by: Eric Blake <eblake@redhat.com>
+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
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