- 
                Notifications
    
You must be signed in to change notification settings  - Fork 1.9k
 
SC2042
        Vidar Holen edited this page Oct 20, 2022 
        ·
        1 revision
      
    for f in foo,bar,baz
do
  echo "$f"
donefor f in foo bar baz
do
  echo "$f"
doneShellCheck found a for loop where the items appeared to be delimited by commas. These will be treated as literal commas. Use spaces instead.
None
- Help by adding links to BashFAQ, StackOverflow, man pages, POSIX, etc!