5 ms·
For comparison, in Next Generation Shell, the above would be solved as follows: version_ok = version.split(".").map(Int) >= [3, 6, 8]
by ilyash 5y ago
For comparison, in Next Generation Shell, the above would be solved as follows:
version_ok = version.split(".").map(Int) >= [3, 6, 8]
- tedmiston 5y agoNGS looks interesting as a Bash alternative. https://github.com/ngs-lang/ngs https://github.com/ngs-lang/ngs
- ilyash 5y agoThank you! 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 https://github.com/ngs-lang/ngs/wiki/UI-Design