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

Re: Simple calculator



"Dr. Michael Meskes" <meskes@online-club.de> writes:

> >  $ guile -c "(display (/ 20 13))"
> >  1.53846153846154
> >  $
> 
> Uuh, polish notation? Not my thing I´m afraid.

Not reverse polish, but prefix syntax.  Reverse polish would be

  $ echo 20 13 div == | gs

Though having a blank window flash in your face with every invocation
might get old.  You could fix that like this:

  $ echo 20 13 div == | gs -sDEVICE=nullpage

Ok, I'll stop posting about this or take to private email.  I'm sure
people are getting tired of my nonsense :>

-- 
Rob Browning <rlb@cs.utexas.edu> PGP=E80E0D04F521A094 532B97F5D64E3930


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


Reply to: