summaryrefslogtreecommitdiff
path: root/gemfeed/2022-01-01-bash-golf-part-2.md
diff options
context:
space:
mode:
Diffstat (limited to 'gemfeed/2022-01-01-bash-golf-part-2.md')
-rw-r--r--gemfeed/2022-01-01-bash-golf-part-2.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gemfeed/2022-01-01-bash-golf-part-2.md b/gemfeed/2022-01-01-bash-golf-part-2.md
index 8a92861b..a57c3253 100644
--- a/gemfeed/2022-01-01-bash-golf-part-2.md
+++ b/gemfeed/2022-01-01-bash-golf-part-2.md
@@ -347,7 +347,7 @@ Ok, let's dig deeper:
-e Exit immediately if a command exits with a non-zero status.
```
-As you can see in the following example, the Bash terminates after the execution of "grep" as "foo" is not matching "bar". Therefore, grep exits with 1 (unsuccessfully) and the shell aborts. And therefore, "bar" will not be printed out anymore:
+As you can see in the following example, the Bash terminates after the execution of "grep" as "foo" is not matching "bar". Therefore, grep exits with 1 (unsuccessfully) and the shell aborts. And therefore, "bar" will not be printed out anymore:
```
❯ bash -c 'set -e; echo hello; grep -q bar <<< foo; echo bar'