TekWizely / bash-tpl

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

feat: Re-worked to support Bash v3.2 and v4.4 #7

Closed TekWizely closed 2 years ago

TekWizely commented 2 years ago

Re-works a few code pieces that were preventing the script from working on older bash versions.

Tested against Bash versions 3.2, 4.4, 5.0, and 5.1 using the uber usefull Bash docker images


Fixes #6

cc: @flaix

flaix commented 2 years ago

I have reverted my fork to this version and am using it successfully. No problems show up on a macOS Bash 3.2.57. I am happily generating Dockerfiles from a template now. 👍