mirror of
https://github.com/koalaman/shellcheck.git
synced 2025-10-03 11:19:45 +08:00
misplaced parenthesis corrected
@@ -23,7 +23,7 @@ array=()
|
||||
mycommand | while IFS="" read -r line; do array+=("$line"); done
|
||||
```
|
||||
|
||||
If it outputs a line with multiple words (separated by spaces), other delimiters can be chosen with IFS, each of which should be an element:
|
||||
If it outputs a line with multiple words (separated by spaces, other delimiters can be chosen with IFS), each of which should be an element:
|
||||
|
||||
```sh
|
||||
# For bash, uses temporary files
|
||||
|
Reference in New Issue
Block a user