TekWizely / bash-tpl

A smart, lightweight shell script templating engine, written in Bash
MIT License
65 stars 4 forks source link

bash-tpl requires Bash >= 5.1 #6

Closed TekWizely closed 2 years ago

TekWizely commented 2 years ago

Discussed in https://github.com/TekWizely/bash-tpl/discussions/5

Originally posted by **flaix** November 10, 2021 I noticed that `bash-tpl` requires a Bash version 5.1 or higher. That might be worth pointing out in the Readme. Or even a runtime check and warning? It looks like a really nice tool and people interested in it might stumble over the fact that their machine uses an older version of Bash. One example is macOS, which uses a really old v3 Bash (and will never update). But I also tried it on a Ubuntu based Docker container that wouldn't run `bash-tpl` either, as it comes with a Bash 4.4.