* Add ini file creation if not exists
Add section creation if not exists
Add default section if section not given
Fix read key value only from given (or default) section
* Fix to support platform specific sed
* Fixed typo in comment
* Fix test scenario to reflect changes to the (introduced) default section
* Fix expectations for scenario test
* Fix style guide compatibility
SC2235: The warning/suggestion about the subshell was letigimate, so
the suggested fix is implemented.
SC2034: The variable __invocation is indeed unused, but it's supposed
to be there in case the script using bash3boilerplate wants to use it,
so this commit silences the warning.
SC1102: The warning about the parsing of $((( is legitimate, so the
suggested fix is implemented.
SC2015: While the warning is correct in general, here 'true' has no
side effects hence it can be silenced.
Fixes#107.
* 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
* updated TOC
* fixed typos
* link to bash3boilerplate.sh/main.sh instead of blob/master/main.sh
* updated links from e.g. blob/master/main.sh#L13 to
blob/v2.1.0/main.sh#L13
* Not completely done yet
* Not completely done yet either
* Update README.md
* One of two ways
* Prefer `source` over `.` for readability
* Use backticks where possible
* Update FAQ.md
* Base on apex.run
* More custom themie
* Loop to write
* Support inline links
* Smaller header
* Auto-deploys via travis
* Rewording to make for a better homepage
* Make the license less restrictive. See #14
So that people can use _just_ main.sh without bothering with also
distributing the license
* Add license update to changelog
* Add a comment about expansion, see #26
* Use an unmodified MIT License, with the more permissive clause inside the code
As modifying the MIT License will needlessly (but rightfully) cause
suspicion
* Credit @bravo-kernel for his feedback
* Fix another typo
* Reword copyright
It may be a bit messy, but I also don't particularly enjoy the context switching that comes from scrolling back & forth in order to see if the links are still valid, or what is being linked to exactly, after a long break from the project.