set -e

3 moment(s) that assert this concept — showing 1–3 of 3

single sourceRests on a single channel — treat as a lead, verify independently
↣ how this spread over time →
provenance — click a node to open its encoding unit
[1] Strange[2] Strange[3] Strange
showing 3 of 3 moments
Strange Loop Conference · youtube · en-US
1Bash scripts do not stop on errors when using a function with set -e, because the setting is not inherited within the function scope.
“it disables globally so it's actually in the function which is not not what I wanted right”
spoken · 351s · 2023-10-02
Strange Loop Conference · youtube · en-US
2The behavior of set -e in bash is documented and not a bug, but it can be misleading when used in functions.
“not not a bug in bash this is the documented behavior”
spoken · 361s · 2023-10-02
Strange Loop Conference · youtube · en-US
3The speaker learned to disable set -e from a friend and now shares this as a cautionary example to prevent others from experiencing similar frustrations.
“the thing that I shared about how to disabled something I learned from a friend just a few weeks ago um they were like this thing happened to me at work and it was very upsetting and I was like wow that is very upsetting”
spoken · 628s · 2023-10-02