Date: Thu, 06 Apr 2000 23:40:42 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: cjclark@home.com Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Comparing Floats in a /bin/sh Script Message-ID: <5944.955057242@axl.ops.uunet.co.za> In-Reply-To: Your message of "Thu, 06 Apr 2000 12:08:44 -0400." <20000406120827.A4198@cc942873-a.ewndsr1.nj.home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 06 Apr 2000 12:08:44 -0400, "Crist J. Clark" wrote: > I want to compare two floating point numbers in a /bin/sh script. I > cannot seem to find an easy way to do so. The best I've come up with > is, /bin/sh is not suited to floating point manipulation of any kind. You're going to save yourself a lot of pain using one of the more feature-rich languages like perl. And trust me, I'm not a perl push-over. If I can do it using /bin/sh instead of perl without breaking my own fingers, I will. :-) Obviously, you'd use whatever high level scripting language you're most comfortable. Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5944.955057242>