for f in foo, bar, baz
do
echo "$f"
done
for f in foo bar baz
do
echo "$f"
done
or
for f in "foo," "bar," "baz,"
do
echo "$f"
done
ShellCheck found a for
loop where the items appear to be
separated by commas. These will be treated as literal commas. If the
commas are part of the value, enclose them in quotes, or remove
them.
None
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.