Bash scripts can be validated using:
bash -n <file>
- ShellCheck
IDEA:
- Identify whether a script is a Bash script or not by inspecting the shebang. Then run it through
bash -n <file> to validate it syntactically.
- Validate template already when setting up the plan.