I personally use Numi, which is very similar. I like the ability to assign variables and reuse them (and change the value of the variable on the fly, instantly redoing all other calculations).
Numi is also available in Setapp [1], which I pay for and really love (it’s a great value for me), but I must admit I’ve never used it. I’ll check it out later today, but don’t know if I can offer a comprehensive pro/con.
[1]: https://setapp.com
The power of old tools :)
These still could be done in Vim but it’s more than just a unixy calculator or text-editor spreadsheet.
$ . calc.sh
$ * 4 5
20
$ / 21 3
7
It’s a WIP. I’ll probably add floating point and a stack.
Which will mean moving away from `dc` to awk/python/something else running in the background, using sh co-processes.I have written to Numi author about this a few months ago and he replied he wants to add this feature to Numi but I haven’t heard any news about that since. I am not following Numi closely, though.
Sad, because its elegant as fuck.