From 19278d4866f4a4a78669bfead8eb006a81d78744 Mon Sep 17 00:00:00 2001 From: Dave Kerr Date: Wed, 5 Jul 2023 12:15:57 -0700 Subject: [PATCH] fix: correct grammar in loops chapter (#281) Fixes #269 --- .../21-loops-and-working-with-files-and-folders/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/04-shell-scripting/21-loops-and-working-with-files-and-folders/index.md b/docs/04-shell-scripting/21-loops-and-working-with-files-and-folders/index.md index 7ace447f..27c4dac0 100644 --- a/docs/04-shell-scripting/21-loops-and-working-with-files-and-folders/index.md +++ b/docs/04-shell-scripting/21-loops-and-working-with-files-and-folders/index.md @@ -319,7 +319,7 @@ do done ``` -This loop structure uses three arithmetic expressions to run the loop. The first is in 'initialise' expression, this is typically used to setup the initial state of the loop. The second is the 'conditional' expression, this is used to check whether the loop is complex. The third is the 'iterate' expression, this is evaluated after the loop commands are completed. +This loop structure uses three arithmetic expressions to run the loop. The first is in 'initialise' expression, this is typically used to setup the initial state of the loop. The second is the 'conditional' expression, this is used to check whether the loop is complete. The third is the 'iterate' expression, this is evaluated after the loop commands are completed. Here's how we can use a C style for loop to iterate through five numbers: