loop : add info about IFS.
This commit is contained in:
parent
2b18df4c5a
commit
758651edac
|
@ -1,7 +1,12 @@
|
|||
# loops.
|
||||
|
||||
## for loop.
|
||||
|
||||
`break` and `continue` are supported.
|
||||
|
||||
```bash
|
||||
local IFS=$'\n' # If we want to support files with spaces.
|
||||
|
||||
local array=( foo bar )
|
||||
local files="*"
|
||||
|
||||
|
|
Loading…
Reference in a new issue