diff --git a/SC1102.md b/SC1102.md index 2df6a54..6aab59b 100644 --- a/SC1102.md +++ b/SC1102.md @@ -1,4 +1,4 @@ -## Shells disambiguate `$((` differently or not at all. For `$(command substition)`, add space after `$(` . For `$((arithmetics))`, fix parsing errors. +## Shells disambiguate `$((` differently or not at all. For `$(command substitution)`, add space after `$(` . For `$((arithmetics))`, fix parsing errors. ### Problematic code: @@ -25,4 +25,4 @@ Ash, dash and Bash 1 parses it as `$(( (` and subsequently fail to find the matc **Alternatively**, you may indeed have correctly spaced your parentheses, but ShellCheck failed to parse `$((` as an arithmetic expression while accidentally succeeding in parsing it as `$(` + `(`. -In these cases, double check the syntax to ensure ShellCheck can parse the `$((`, or ignore this error and hope that it won't affect analysis too severely. \ No newline at end of file +In these cases, double check the syntax to ensure ShellCheck can parse the `$((`, or ignore this error and hope that it won't affect analysis too severely.