true
as a no-op)for i in 1 2 3; do
done
for i in 1 2 3; do
true
done
An empty do ... done
block is not valid. Use
true
or :
if you need no command at all.
None.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.