Fix error with ssh, big refactor
[errhandle.git] / README
diff --git a/README b/README
index ff45665d4bb6f16fc4f736ecd90cdb44f99ffa94..23af1dd290e6d08fe760968b8a1e19f20e6edfdf 100644 (file)
--- a/README
+++ b/README
@@ -1,23 +1 @@
-Functions to deal with errors in bash
-
-err: usually, just copy and source this. contains the other files
-
-
-err-catch: set a trap on error to do bash-trace and exit
-err-allow: undo errcatch
-err-exit: exit and print stack trace
-bash-trace: print stack trace (best bash stack trace ever)
-
-the err* functions depend on bash-trace.
-
-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
-
-Cleanup commands or functions can be appended to the ERR trap after a
-semicolon within the single quotes.
-
-Related: see my bash script template repo, at https://iankelling.org/git.
-
-Please email me if you have a patches, bugs, feedback, or republish this
-somewhere else: Ian Kelling <ian@iankelling.org>.
+Read the err file next to this one.