Shell Scripting Templates

screenshot of Shell Scripting Templates

Shell scripting utility functions and a bash script boilerplate template

Overview

Shell Scripting Templates and Utilities is a collection of BASH utility functions and script templates designed to simplify the creation of portable and hardened BASH scripts with predefined settings.

Features

  • BASH Script Templates: Two script templates are provided, allowing users to easily create new scripts by copying and modifying these templates.
  • Utility Functions: A collection of BASH utility functions are included in the "utilities/" folder, providing additional functionality for script development.
  • Sed Find/Replace Operations: Complex sed find/replace operations are supported with the files located in the "sedfiles/" folder.
  • Automated Testing: Automated testing is provided using BATS. Test scripts can be found in the "tests/" repository, and a pre-commit hook for automated testing is located in the ".hooks/" directory.