GNU-Bash-Shell-Script-Template icon indicating copy to clipboard operation
GNU-Bash-Shell-Script-Template copied to clipboard

Easy-to-use GNU Bash shell script templates for for users to create new scripts.

Results 7 GNU-Bash-Shell-Script-Template issues
Sort by recently updated
recently updated
newest added

updates: - [github.com/pre-commit/pre-commit-hooks: v1.2.3 → v4.0.1](https://github.com/pre-commit/pre-commit-hooks/compare/v1.2.3...v4.0.1) - [github.com/jumanjihouse/pre-commit-hooks: 1.6.0 → 2.1.5](https://github.com/jumanjihouse/pre-commit-hooks/compare/1.6.0...2.1.5) - [github.com/adrienverge/yamllint: master → v1.26.3](https://github.com/adrienverge/yamllint/compare/master...v1.26.3)

The template seems to deliberately reserve `-h` flag for the predefined `--help` option. While I appreciate that some shell scripts do use `-h` for help option (for user convenience), but...

I can't grab the idea behind this design: ``` meta_trap_err(){ if [ ${#} -ne 4 ]; then printf 'ERROR: %s: Wrong function argument quantity!\n' "${FUNCNAME[0]}" 1>&2 return "${COMMON_RESULT_FAILURE}" fi local...

` s/meta_util_is_parameter_set_and_not_null *\([A-Za-z_][0-9A-Za-z_]*\)/[ -n "${\1-}" ]/g ` `"${foo-}"` won't error out upon `set -o nounset` (https://mywiki.wooledge.org/BashFAQ/112)

![default](https://user-images.githubusercontent.com/13408130/39662155-066040ac-5090-11e8-861f-7676abdf1720.png)

bug

Generated include guard according to script name. There should be some way to do in the script. _INCLUDED

* [pkg-config](https://www.freedesktop.org/wiki/Software/pkg-config/) * [Guide to pkg-config](https://people.freedesktop.org/~dbn/pkg-config-guide.html)

enhancement
help wanted