From owner-freebsd-bugs Thu Jul 24 16:59:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id QAA03177 for bugs-outgoing; Thu, 24 Jul 1997 16:59:00 -0700 (PDT) Received: from internet1.mel.cybec.com.au (internet1.mel.cybec.com.au [203.103.154.130]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id QAA03169 for ; Thu, 24 Jul 1997 16:58:43 -0700 (PDT) Received: from tech34 (tech34.mel.cybec.com.au [203.103.154.37]) by internet1.mel.cybec.com.au (post.office MTA v2.0 0813 ID# 0-14031) with ESMTP id AAA372; Fri, 25 Jul 1997 09:59:11 +1000 Message-ID: <33D7EC96.12F89534@cybec.com.au> Date: Fri, 25 Jul 1997 10:00:22 +1000 From: TLiddelow@cybec.com.au (Tim Liddelow) X-Mailer: Mozilla 4.01 [en] (WinNT; I) MIME-Version: 1.0 To: "Jordan K. Hubbard" CC: Jason Thorpe , freebsd-bugs@hub.freebsd.org Subject: Re: bin/4154: wish /bin/sleep handled fractions of a second. X-Priority: 3 (Normal) References: <11276.869735517@time.cdrom.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Jordan K. Hubbard wrote: > > > Erm, you're sorta missing the point. This is not about upwards > compatibility - this is about taking a BSD script and later trying to > port it to, say, Solaris. Portability cuts both ways, and there's no > advantage to be gained by turning BSD into a roach motel, where code > can get in but, once "BSD-ized", never leave again. > > In this particular case, if you have a script which says something > like: > > foo > sleep 0.8 > bar > sleep 0.9 > baz > > And you bring it to a non-BSD system, it will not sleep _at all_ since > the other system sees "sleep 0", and that could be bad depending on > what bar and baz do. This is exactly the kind of interoperability > problem that POSIX was intended to try and solve. Let's not fight it. > I do see your point. As an avid FreeBSD user and hacker, I want to see compatibility and I push this in my travels. What I should have said is that perhaps if you want or need extra features you need to somehow push standards bodies (pipe dream?) or write a portable shell work-around. Cheers Tim. > Jordan