diff --git a/SC1037.md b/SC1037.md index 7bcafbc..f3c3470 100644 --- a/SC1037.md +++ b/SC1037.md @@ -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