summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-06-02 08:20:07 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-06-02 08:20:07 +0300
commita3c0a363d27d196bb8489fbaa8fd073f6a7a1610 (patch)
tree7673cd544d9e34c8909d4b7e562c9d1e9da9080b
parentmarkdown.md: update (diff)
downloadnotes-a3c0a363d27d196bb8489fbaa8fd073f6a7a1610.tar.gz
notes-a3c0a363d27d196bb8489fbaa8fd073f6a7a1610.zip
bash.md: update
-rw-r--r--bash.md7
1 files changed, 4 insertions, 3 deletions
diff --git a/bash.md b/bash.md
index b50b2fa..4856716 100644
--- a/bash.md
+++ b/bash.md
@@ -52,14 +52,15 @@ It doesn't affect expansion (see below) though.
# An insightful discussion on the topic: https://lists.gnu.org/archive/html/help-bash/2016-09/msg00020.html.
-### `errexit`
+`errexit`
+---------
-#### Do
+### Do
bar_output="$( bar )"
foo "$bar_output"
-#### Don't
+### Don't
foo "$( bar )" # With `errexit`, foo will still get executed.
# I don't know why.