2 ms·
I started hacking something up to invoke dc more easily… $ . calc.sh $ * 4 5 20 $ / 21 3 7 It’s a WIP. I’ll probably add floating point and a stack
by emmelaich 7y ago
I started hacking something up to invoke dc more easily…
$ . 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.