What I learned from other shell scripts →
Really useful stuff in here for basic shell scripting:
- colorize output
- print debugging info
- check if executable exists
- print nice usage text
- default values of variables
- check length of string
- read inputs without timeout
- get dir/file name