for f in foo,bar,baz do echo "$f" done
for f in foo bar baz do echo "$f" done
ShellCheck found a
for loop where the items appeared to be delimited by commas. These will be treated as literal commas. Use spaces instead.
ShellCheck is a static analysis tool for shell scripts. This page is part of its documentation.