From 16eb3a0734a3316fdb7b0489e11e4f82e8e842b3 Mon Sep 17 00:00:00 2001 From: Glenn Jackman Date: Thu, 5 Dec 2024 08:39:50 -0500 Subject: [PATCH] tweak wording --- concepts/pipelines/about.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/concepts/pipelines/about.md b/concepts/pipelines/about.md index 697b8419..30a8fb8d 100644 --- a/concepts/pipelines/about.md +++ b/concepts/pipelines/about.md @@ -71,7 +71,7 @@ A && B && C && D || E Use these logical operators sparingly. They can quickly lead to unreadable code, or logic that is hard to comprehend. -For example, do you think these are the same? +For example, you may think these are the same: ```bash if A; then B; else C; fi @@ -81,10 +81,10 @@ if A; then B; else C; fi A && B || C ``` -They differ in when C is executed. +They difference is: when does C execute? -* In the first snippet (the if statement), C will only execute if A fails. -* In the second snippet, C executes if A fails _or if A succeeds but B fails_! +* In the first snippet (the if statement), C will execute only if A fails. +* In the second snippet, C will execute if A fails _or if A succeeds but B fails_! ~~~~ ### Uses of Command Lists