Hacker News new | past | comments | ask | show | jobs | submit login

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.



Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact

Search: