Revision: 704
http://svn.savannah.gnu.org/viewvc/?view=rev&root=administration&revision=704
Author: iank
Date: 2023-12-12 15:13:28 -0500 (Tue, 12 Dec 2023)
Log Message:
-----------
add missing link
Modified Paths:
--------------
trunk/sviki/fsf/bash-style-guide.mdwn
Modified: trunk/sviki/fsf/bash-style-guide.mdwn
===================================================================
--- trunk/sviki/fsf/bash-style-guide.mdwn 2023-12-12 20:08:56 UTC (rev
703)
+++ trunk/sviki/fsf/bash-style-guide.mdwn 2023-12-12 20:13:28 UTC (rev
704)
@@ -247,8 +247,10 @@
For scripts with functions, copy/paste or source the bash-bear script
-from , which will exit on error and print stack traces.
+<https://savannah.nongnu.org/git/?group=bash-bear-trap> , which will exit on
error and print stack traces.
+When you want to manually handle some error, use a variable, for example:
+
```
set -e; . /path/to/bash-bear; set +e
test-func() {