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

Re: Simple calculator



Previously Dr. Michael Meskes wrote:
> meskes@feivel:~/todo/calc$ ./calc 20.0/13.0
>          1.538461538461539
> 
> So I guess it qualifies. :-)

Really funky idea: there's an implementation of a RPN calculator
written in sed. Look at /usr/doc/sed/examples in the latest sed
package.

The syntax is weird, but it does work :)

Wichert.

-- 
==============================================================================
This combination of bytes forms a message written to you by Wichert Akkerman.
E-Mail: wakkerma@wi.LeidenUniv.nl
WWW: http://www.wi.leidenuniv.nl/~wichert/

Attachment: pgpwr5rN5bpkG.pgp
Description: PGP signature


Reply to: