Re: Simple calculator
On Thu, Aug 06, 1998 at 01:30:46AM +0200, Wichert Akkerman wrote:
> 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.
Perl can be made into a calculator as well:
#!/usr/bin/perl
print(eval(join(' ',@ARGV)), "\n");
--
* Gavin Lewis zif@kalifornia.com (preferred) *
* zif@hax0r.org (alias to above, could vanish) *
--
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: