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