-
Notifications
You must be signed in to change notification settings - Fork 1.9k
SC1137
Joachim Ansorg edited this page Oct 31, 2022
·
2 revisions
for (i=0; i<10; i++))
do
echo $i
donefor ((i=0; i<10; i++))
do
echo $i
doneShellCheck found an arithmetic for ((;;)) expression where either the (( or the )) did not come as a pair. Make sure to use (( )) and not ( ).
None.
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!