From: Ian Kelling Date: Fri, 12 Aug 2016 22:37:12 +0000 (-0700) Subject: small doc update X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=276299a5dc540a36b8268c41249d6d60430b3f87;p=errhandle.git small doc update --- diff --git a/README b/README index 7458586..aa8236a 100644 --- a/README +++ b/README @@ -8,12 +8,12 @@ errexit: exit and print stack trace the err* functions depend on bash-trace. -For scripts which don't or hardly contains functions, this is usually sufficient: +For scripts without any nested function calls, this is usually sufficient: set -eE -o pipefail trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR Related: see my bash script template repo. -Patches, bugs, and any feedback is very welcome via email to -Ian Kelling . +Please email me if you have a patches, bugs, feedback, or republish this +somewhere else: Ian Kelling .