From owner-freebsd-questions@FreeBSD.ORG Sat Jun 26 00:36:10 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AE5C216A4CF for ; Sat, 26 Jun 2004 00:36:10 +0000 (GMT) Received: from mta11.adelphia.net (mta11.adelphia.net [68.168.78.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D64E43D1F for ; Sat, 26 Jun 2004 00:36:10 +0000 (GMT) (envelope-from parv@chvlva.adelphia.net) Received: from default.chvlva.adelphia.net ([69.160.73.175]) by mta11.adelphia.netESMTP <20040626003609.FLGK13168.mta11.adelphia.net@default.chvlva.adelphia.net> for ; Fri, 25 Jun 2004 20:36:09 -0400 Received: by default.chvlva.adelphia.net (Postfix, from userid 1000) id CB1CB55DE; Fri, 25 Jun 2004 20:37:32 -0400 (EDT) Date: Fri, 25 Jun 2004 20:37:32 -0400 From: Parv To: freebsd-questions@freebsd.org Message-ID: <20040626003732.GA65446@moo.holy.cow> Mail-Followup-To: freebsd-questions@freebsd.org References: <36fb6de804062508417917d0b8@mail.gmail.com> <20040625183429.GA10616@moo.holy.cow> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040625183429.GA10616@moo.holy.cow> Subject: Re: command-line calculator? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 26 Jun 2004 00:36:10 -0000 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 --