Re: How to direct output into the LibreOffice Calc
On Wed, 29 Feb 2012 03:17:50 +1300, Chris wrote in message
> On Tue, Feb 28, 2012 at 10:06:48PM +0800, lina wrote:
> > Hi,
> > I wonder:
> > 2]
> Don't know about libreoffice, sorry.
> > Is it possible to do a quick sum calculations for some output on
> > terminal.
> > like the sum of
> > 3
> > 16
> > 3
> > 3
> > 9
> root@tal:~# cat tt
> root@tal:~# bc < tt
> root@tal:~# man -k calculator
> bc (1) - An arbitrary precision calculator language
> dc (1) - an arbitrary precision calculator
> sc (1) - spreadsheet calculator
> xcalc (1) - scientific calculator for X
..I raise you qalc: ;o)
arnt@celsius:~$ qalc 240V*2.25A*30days*.33NOK/kWh
(240 * volt * (2.25 * ampere) * (30 * day) * (0.33 * NOK)) / (kilowatt
* hour) = NOK 128.304
arnt@nb6:~$ qalc .33NOK/kWh to €/Btu
warning: It has been more than one week since the exchange rates last
(0.33 * NOK) / (kilowatt * hour) = approx. 12.4103(mEUR / kBtu)
arnt@celsius:~$ man -k calculator
ata_std_bios_param (9) - generic bios head/sector/cylinder calculator
used by sd.
qalc (1) - Powerful and easy to use command line calculator
qalculate-gtk (1) - Powerful and easy to use desktop calculator
transicc (1) - little cms ColorSpace conversion calculator.
> "Religion is excellent stuff for keeping common people quiet."
> -- Napoleon Bonaparte
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.