loop : add info about IFS.

This commit is contained in:
Dmitry Voronin 2023-11-22 12:56:43 +03:00
parent 2b18df4c5a
commit 758651edac

View file

@ -1,7 +1,12 @@
# loops. # loops.
## for loop. ## for loop.
`break` and `continue` are supported. `break` and `continue` are supported.
```bash ```bash
local IFS=$'\n' # If we want to support files with spaces.
local array=( foo bar ) local array=( foo bar )
local files="*" local files="*"