mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 19:29:44 +08:00
Last sentence: comma rules
@@ -66,4 +66,5 @@ What was meant is:
|
||||
```
|
||||
filelist=("${filelist[@]}" "$filename")
|
||||
```
|
||||
Note: this syntax is compatible with older shells, in later shells (bash 3.1+ and zsh 4.2+) you can do: ```filelist+=("$filename")```
|
||||
Note: This syntax is compatible with older shells;
|
||||
in later shells (bash 3.1+ and zsh 4.2+), you can do `filelist+=("$filename")`.
|
||||
|
Reference in New Issue
Block a user