Skip to content

Commit

Permalink
tweak wording
Browse files Browse the repository at this point in the history
  • Loading branch information
glennj committed Dec 5, 2024
1 parent c1f3512 commit 16eb3a0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions concepts/pipelines/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 16eb3a0

Please sign in to comment.