I'm sharing script templates in various languages with others that might find them useful. Especially scripts that took awhile to figure out, but can be applied to many other people's needs, or simply just to be used a references.
The purpose is to provide real-world scripts for rapid development of scripts that already contain very useful features such as:
- Passing --verbose arg for debugging
- Basic Input Sanitation
- Easy Color Formatting
- Display Execution Times
- Easy Logging
- File Locking (flock to ensure only one instance at any given moment)
- Commentary / Explanations