Fix caps and use shorter URL form for Stack Overflow link

John Gardner
2021-12-22 19:31:44 +11:00
parent fd4f9b5ad1
commit f19aa1e319

@@ -22,7 +22,7 @@ Curly braces are needed to tell the shell that both digits are part of the param
### Exceptions
If you wanted the trailing digits to be literal, `${1}0` will make this clear to both humans and shellcheck.
If you wanted the trailing digits to be literal, `${1}0` will make this clear to both humans and ShellCheck.
In `dash`, `$10` is ([wrongly](https://gnu.org/s/autoconf/manual/html_node/Shell-Substitutions.html)) interpreted as `${10}`, so some 'reversed' care should also be taken:
@@ -34,6 +34,5 @@ dash -c 'set a b c d e f g h i j; echo $10 ${1}0' # WRONG: j a0
### Related resources:
* [BashFaq: How can I access positional parameters after $9?](https://mywiki.wooledge.org/BashFAQ/025)
* [StackOverflow: How to handle more than 10 parameters in shell
](https://stackoverflow.com/questions/4912733/how-to-handle-more-than-10-parameters-in-shell)
* [StackOverflow: How to handle more than 10 parameters in shell](https://stackoverflow.com/q/4912733)
* [Autoconf Manual: Shell Substitutions](https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/html_node/Shell-Substitutions.html) - documents some non-POSIX older shells too