Timeline for How to save & restore all shell options including errexit
Current License: CC BY-SA 4.0
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Dec 25, 2023 at 9:21 | comment | added | Rafis Ganeev | Solution is not working in /bin/sh. | |
| Nov 9, 2018 at 6:15 | comment | added | user232326 | The shopt is a valid command for bash, there is no meaningful reason to avoid it (I is only a matter of your personal preference of how answers should be written). Not a meaningful change. @StéphaneChazelas | |
| Nov 7, 2018 at 14:57 | history | edited | user232326 | CC BY-SA 4.0 | Avoid that the shell exit on a non-zero exit code when `set -e` is enabled. |
| Nov 7, 2018 at 14:08 | history | edited | user232326 | CC BY-SA 4.0 | typo |
| Nov 7, 2018 at 13:59 | comment | added | Stéphane Chazelas | See also [[ -o errexit ]] (ksh/bash/zsh) and [ -o errexit ] (bash/ksh/yash) | |
| Nov 7, 2018 at 13:47 | history | edited | user232326 | CC BY-SA 4.0 | Only change the errexit value. |
| Nov 7, 2018 at 13:17 | history | edited | user232326 | CC BY-SA 4.0 | Only change the errexit value. |
| Oct 22, 2018 at 2:57 | history | edited | user232326 | CC BY-SA 4.0 | Avoid error inside a `bash -c` test. |
| Oct 20, 2018 at 16:15 | history | answered | user232326 | CC BY-SA 4.0 |