Amber
Amber copied to clipboard
[Feature] Add Bash version comparator function
Is your feature request related to a problem? Please describe. When writing PR for the issue #700 I found that we need a way to test for bash version in certain bash functions for maximal compatibility.
Describe the solution you'd like Add a standard library function that compares Bash version agains the current one. It would be nice to add an interface like:
bash_version_less_than(version)
Additional context #700
There is a discussion of the interface: https://github.com/amber-lang/amber/issues/622