by pkulak · 5y ago · 0 comments
#!/bin/sh
python3 -c "from math import *; print($1)"
as my calculator for some time now, and it's quite useful. I need to invoke it with quotes though: calc '100/34.2'You can alternatively remember to do 'scale=10' before doing anything else in bc.
This isn't a great ad for the article's claim that CLIs are in every way superior to GUIs, is it?
I use iPython or GHCi for my calculator needs.