Linked by Thom Holwerda on Mon 27th Nov 2006 10:14 UTC, submitted by Rob Newcater
OSNews, Generic OSes "If like me, you do most of your work from the command-line, using vim to edit files, mutt for e-mails, cd/ls/mv/find/etc instead of a file manager, then you may get annoyed by having to fire up a GUI calculator to make (what may sometimes be) a single calculation. This article shows how to quickly perform standard calculations on the command line."
Thread beginning with comment 185627
To read all comments associated with this story, please click here.
Neat.
by JamesTRexx on Mon 27th Nov 2006 11:20 UTC
JamesTRexx
Member since:
2005-11-06

Whenever I need to do a cuick calculation in Windows I wished I could do it from the command line as I always have at least one shell open and opening Calculator each time feels like such a fuss.

RE: Neat.
by eMagius on Mon 27th Nov 2006 13:45 in reply to "Neat."
eMagius Member since:
2005-07-06

Then install bc (and a host of other GNU utilities) on Windows:

http://unxutils.sourceforge.net/

They're all just a download and an unzip away.

(Personally, I'm more of a dc guy.)

Edited 2006-11-27 13:53

Reply Parent Bookmark Score: 1

RE[2]: Neat.
by diginux on Mon 27th Nov 2006 13:51 in reply to "RE: Neat."
diginux Member since:
2005-07-06

Why use echo and pipe to bc? I always just type bc<enter> and work from there.

Reply Parent Bookmark Score: 1

RE[3]: Neat.
by chemical_scum on Mon 27th Nov 2006 15:29 in reply to "RE: Neat."
chemical_scum Member since:
2005-11-02

"Then install bc (and a host of other GNU utilities) on Windows:

http://unxutils.sourceforge.net/

They're all just a download and an unzip away."


I have been running bc on Windows at work for several years now and find it very useful. What I like and isn't mentioned in the article is that you can use variables.

The article mentions the advantage of having a print out of all of your calculations, but many gui calculators do this. One of the best here is Qalculate for Linux, but though simpler the calculator plugin for Firefox is pretty good too.

Reply Parent Bookmark Score: 1