Hacker News new | ask | show | jobs
by emmelaich 2532 days 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.