Date: Fri, 25 Jun 2004 20:37:32 -0400 From: Parv <parv@pair.com> To: freebsd-questions@freebsd.org Subject: Re: command-line calculator? Message-ID: <20040626003732.GA65446@moo.holy.cow> In-Reply-To: <20040625183429.GA10616@moo.holy.cow> References: <36fb6de804062508417917d0b8@mail.gmail.com> <20040625183429.GA10616@moo.holy.cow>
index | next in thread | previous in thread | raw e-mail
in message <20040625183429.GA10616@moo.holy.cow>,
wrote Parv thusly...
>
> Perl:
> perl -e 'print +(17 * 36)'
>
> awk:
> echo |awk '{print 17 * 36}'
Oh, in Rexx...
echo 'say 17 * 36 ' | rexx
...or...
rexx # Interpreter
say 17 * 36
^D # Ctrl-D
Just wondering out loud ... Is it not possible either in rexx-imc or
-regina to have something like the perl functionality (make rexx to
execute a string as if it were a valid statement/expression) ?
- Parv
--
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040626003732.GA65446>
