[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Very slim Desktop Manager



On 11/14/08 06:46, Tzafrir Cohen wrote:
On Fri, Nov 14, 2008 at 12:25:27PM +0100, François Cerbelle  wrote:
[snip]
You should try "bc". I'm sure that you can type in everything you can type
in your GUI based calculator.

Right.

  bc - An arbitrary precision calculator language

$ bc
bc 1.06.94
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1/2
0


Oh, you mean I had to set this strange thing called 'scale'? Why can't I get it to default to something more reasonable? There's at least not a method documented in the man page.

You're just being closed-minded.

$ alias bcl
alias bcl='bc -l'

$ bcl
bc 1.06.94
Copyright 1991-1994, 1997, 1998, 2000, 2004, 2006 Free Software Foundation, Inc.
This is free software with ABSOLUTELY NO WARRANTY.
For details type `warranty'.
1/2
.50000000000000000000

I wish there were a ~/.bcrc to auto-set the scale, but the world won't come to an end if you see a lot of zeros.

--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


Reply to: