From owner-freebsd-questions@FreeBSD.ORG Sat Feb 19 17:11:39 2005 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 D3BAF16A4CE for ; Sat, 19 Feb 2005 17:11:39 +0000 (GMT) Received: from relay03.pair.com (relay03.pair.com [209.68.5.17]) by mx1.FreeBSD.org (Postfix) with SMTP id 53F2F43D55 for ; Sat, 19 Feb 2005 17:11:39 +0000 (GMT) (envelope-from alejandro@varnet.biz) Received: (qmail 48381 invoked from network); 19 Feb 2005 17:11:38 -0000 Received: from unknown (HELO ale.varnet.bsd) (unknown) by unknown with SMTP; 19 Feb 2005 17:11:38 -0000 X-pair-Authenticated: 200.115.214.206 Date: Sat, 19 Feb 2005 14:12:12 -0300 From: Alejandro Pulver To: Jon Drews Message-ID: <20050219141212.1480284c@ale.varnet.bsd> In-Reply-To: <8cb27cbf050219083335c55752@mail.gmail.com> References: <20050219125559.3bb98715@ale.varnet.bsd> <8cb27cbf050219083335c55752@mail.gmail.com> X-Mailer: Sylpheed-Claws 0.9.12b (GTK+ 1.2.10; i386-portbld-freebsd5.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit cc: freebsd-questions Subject: Re: How to handle numeric variables in sh? 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, 19 Feb 2005 17:11:39 -0000 On Sat, 19 Feb 2005 09:33:11 -0700 Jon Drews wrote: > Ale: > > > On Sat, 19 Feb 2005 12:55:59 -0300, Alejandro Pulver > wrote: > > Hello, > > > > Is there a way to handle numeric variables (addition, multiplication, etc.) in 'sh' (or throught an external command)? > > Here is a good short "HowTo" on calling bc: > ----------------------------------------------------------------- > >> Shell Tip: Calculating with large numbers using "bc" > ----------------------------------------------------------------- > http://www.shelldorado.com/newsletter/issues/2002-3-Aug.html > > Shelldorado is a great reference site: > > http://www.shelldorado.com/ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" Interesting site. Thank You. Best Regards, Ale