mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2025-02-01 15:37:55 +00:00
7cf9ea708d
* Fix shifting over `--`: don't throw errexit Fixes #21 * Add error trapping (including Ctrl-C) info to FAQ Closes #47 * Add backtracing to help localize errors - Fixes #44 - Backtracing is turned on when the debugging `-d` flag is passed, otherwise backtracing function defined but signal trap not set. - Update main-help fixture due to moving trap * Untabify main.sh Might be a controversial move, but I loath tabs... * Add checks for tab chars and trailing whitespace - Update poor-man's style enforcement script to check for these violations - Better document style guidlines in README with small tweaks * Add a magic variable to indicate if being source if `__i_am_main_script=1 #true` then `main.sh` called directly Fixes #45