NextShot uses some expansions and other syntax (such as ${rename,,} to lowercase the boolean rename option) that is only available as of Bash v4.
You'd think most systems would be on Bash 4 already, but it might not always be the case. For instance OSX - while not (yet) supported by NextShot - is still running v3 out of the box.
If we detect a system running Bash < 4, NextShot should exit with an error message stating that fact.
NextShot uses some expansions and other syntax (such as
${rename,,}
to lowercase the boolean rename option) that is only available as of Bash v4.You'd think most systems would be on Bash 4 already, but it might not always be the case. For instance OSX - while not (yet) supported by NextShot - is still running v3 out of the box.
If we detect a system running Bash < 4, NextShot should exit with an error message stating that fact.