From 758651edacc7465bbddb9f342b2380ce78167de0 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Wed, 22 Nov 2023 12:56:43 +0300 Subject: [PATCH] loop : add info about IFS. --- help/linux/bash/script/loop.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/help/linux/bash/script/loop.md b/help/linux/bash/script/loop.md index 8b36a2d..ff6e52f 100644 --- a/help/linux/bash/script/loop.md +++ b/help/linux/bash/script/loop.md @@ -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="*"