diff --git a/Sc2004.md b/Sc2004.md index 22f8411..1f8de54 100644 --- a/Sc2004.md +++ b/Sc2004.md @@ -1,4 +1,4 @@ -# Don't use $ on variables in (( )). +# $/${} is unnecessary on arithmetic variables. ### Problematic code: @@ -12,4 +12,4 @@ The `$` on regular variables in arithmetic contexts has no purpose, and is just noise. -The `$` does matter for special variables like `$1` vs `1`, `$#` vs `#`, and ShellCheck does not produce this style suggestion for these cases. \ No newline at end of file +The `$` does matter for special variables like `$1` vs `1`, `$#` vs `#`. ShellCheck does not produce this style suggestion for these cases. \ No newline at end of file