From owner-freebsd-questions@FreeBSD.ORG Fri Jun 25 15:48:04 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 4FDE816A4CE for ; Fri, 25 Jun 2004 15:48:04 +0000 (GMT) Received: from rwcrmhc11.comcast.net (rwcrmhc11.comcast.net [204.127.198.35]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2CF5243D49 for ; Fri, 25 Jun 2004 15:48:04 +0000 (GMT) (envelope-from aaron@justaaron.com) Received: from justaaron.com (c-24-9-219-120.client.comcast.net[24.9.219.120]) by comcast.net (rwcrmhc11) with ESMTP id <2004062515475801300f02sae>; Fri, 25 Jun 2004 15:47:58 +0000 Message-ID: <40DC491D.9080502@justaaron.com> Date: Fri, 25 Jun 2004 09:47:41 -0600 From: Aaron User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7b) Gecko/20040407 X-Accept-Language: en-us, en MIME-Version: 1.0 To: CD Baby References: <36fb6de804062508417917d0b8@mail.gmail.com> In-Reply-To: <36fb6de804062508417917d0b8@mail.gmail.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org Subject: Re: command-line calculator? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: aaron@justaaron.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jun 2004 15:48:04 -0000 CD Baby wrote: > What simple built-in command-line tools are available if I want to > just do some simple math on the command line? > > If I'm there in a shell, and need to know what 17 times 36 equals? $ bc bc 1.06 Copyright 1991-1994, 1997, 1998, 2000 Free Software Foundation, Inc. This is free software with ABSOLUTELY NO WARRANTY. For details type `warranty'. 17*36 612 ^D -- Aaron aaron@justaaron.com