Updated Sc2004 (markdown)

koalaman
2014-08-16 17:08:11 -07:00
parent d079d45e39
commit 9fecdfb38d

@@ -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.
The `$` does matter for special variables like `$1` vs `1`, `$#` vs `#`. ShellCheck does not produce this style suggestion for these cases.