Re: Simple calculator
"Dr. Michael Meskes" <firstname.lastname@example.org> 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 <email@example.com> PGP=E80E0D04F521A094 532B97F5D64E3930
To UNSUBSCRIBE, email to firstname.lastname@example.org
with a subject of "unsubscribe". Trouble? Contact email@example.com