For comparison, in Next Generation Shell, the above would be solved as follows:
version_ok = version.split(".").map(Int) >= [3, 6, 8] version_ok = version.split(".").map(Int) >= [3, 6, 8]For scripting, it is significantly better than bash (at least for most of the cases that I have).
The interactive part is not implemented yet but it is planned to be quite different from the dominant decades old approach. The plan is at https://github.com/ngs-lang/ngs/wiki/UI-Design