bash-script-template
bash-script-template copied to clipboard
A best practices Bash script template with several useful functions
Infrequent users, and anyone who does not have a mental model of the whole script, would be helped by having a ToC at the head of the template file listing...
Taking on board the feedback in PR #8, I'm feeding back some changes I've found useful. For consideration: ```bash # DESC: Variable defaults # ARGS: None. # OUTS: Variables with...
Feeding back a more radical change than the prior suggestions in PR #8 and issue #9. What I now have in my `template.sh`: From memory, I iterated from this [blog...