$((..)) instead of
deprecated $[..].n=1
n=$[n+1]n=1
n=$((n+1))The $[..] syntax was deprecated in Bash 2.0 and replaced
with the standard $((..)) syntax from Korn shell
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.