From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 19:52:59 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 A051916A4CF for ; Fri, 25 Jun 2004 19:52:59 +0000 (GMT) Received: from wonkity.com (wonkity.com [65.173.111.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1287E43D39 for ; Fri, 25 Jun 2004 19:52:59 +0000 (GMT) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.12.11/8.12.11) with ESMTP id i5PJVXDg021750; Fri, 25 Jun 2004 13:31:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.11/8.12.11/Submit) with ESMTP id i5PJVXup021747; Fri, 25 Jun 2004 13:31:33 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Fri, 25 Jun 2004 13:31:33 -0600 (MDT) From: Warren Block To: Parv In-Reply-To: <20040625183429.GA10616@moo.holy.cow> Message-ID: <20040625132917.U21716@wonkity.com> References: <36fb6de804062508417917d0b8@mail.gmail.com> <20040625183429.GA10616@moo.holy.cow> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.3.8 (wonkity.com [127.0.0.1]); Fri, 25 Jun 2004 13:31:33 -0600 (MDT) cc: CD Baby cc: freebsd-questions@freebsd.org 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: Fri, 25 Jun 2004 19:52:59 -0000 On Fri, 25 Jun 2004, Parv wrote: > Perl: > perl -e 'print +(17 * 36)' Or just perl -e 'print 17 * 36' but for neatness perl -e 'print 17 * 36, "\n"' -Warren Block * Rapid City, South Dakota USA