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

Re: Simple calculator

On Wed, 5 Aug 1998, David Welton wrote:
davidw>> joey@kite:~/lab>which calc
davidw>> calc () {
davidw>> 	echo $* | bc -l
davidw>> }

davidw>Hey, that's a nice one:-)
davidw>I think that wins the prize... uses existing tools, real simple, and
davidw>works without having to remember to set scale, or use lots of (()))((
davidw>or whatever..:->

	Yes, I added it to my .bashrc as soon as I saw it !

John Lapeyre <lapeyre@physics.arizona.edu>
Tucson,AZ     http://www.physics.arizona.edu/~lapeyre

To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: