Bash Tips #3 – Templating in Bash Scripts

Software deployment systems such as Ansible or Puppet come with a templating engine to help us create and manage configuration files. Such functionality can be also achieved using bash. It might not be as easy to use or feature-rich, but it is a mechanism that can be useful when you cannot or choose not to … Continue reading "Bash Tips #3 – Templating in Bash Scripts"

Read More

Bash Tips #2 – Splitting Shell Scripts to Improve Readability

Codebase grows over time and so do shell scripts. Those usually start small and serve a single purpose, but new features get added, unforeseen situations are handled, and suddenly shell scripts have hundreds of lines, losing readability in the process. From what I have observed when collaborating with other developers, it is in our nature to … Continue reading "Bash Tips #2 – Splitting Shell Scripts to Improve Readability"

Read More