🧊 freezr 🥶 @freezr@friendica.myportal.social · activity timestamp 5 hr. ago #TIL that you do basic math with the #terminal with bc.$ bc -l 2 + 2 quit $#runbsd #freebsd #shell Read more Read less Translate Translate #terminal #runbsd #shell #freebsd #til Reply Boost Quote Like More actions Copy link Share View remotely Get latest replies Flag this post Block
David Chisnall (*Now with 50% more sarcasm!*) @david_chisnall@infosec.exchange · activity timestamp 17 min. ago @freezr There’s also dc for reverse Polish notation (and, I believe, higher precision, though the new bc maybe changed that?). And expr for short expressions directly on the command line (or, more usefully, in scripts). Read more Read less Translate Translate Reply Boost Quote Like More actions Copy link Share Flag this comment Block
@freezr
There’s also
dcfor reverse Polish notation (and, I believe, higher precision, though the newbcmaybe changed that?). Andexprfor short expressions directly on the command line (or, more usefully, in scripts).