(
to start arithmetic for ((;;)) loopfor (i=0; i<10; i++))
do
echo $i
done
for ((i=0; i<10; i++))
do
echo $i
done
ShellCheck found an arithmetic for ((;;))
expression where either the ((
or the ))
did not come as a pair. Make sure to use (( ))
and not ( )
.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.