From owner-freebsd-bugs Fri Jul 25 01:29:00 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id BAA21941 for bugs-outgoing; Fri, 25 Jul 1997 01:29:00 -0700 (PDT) Received: from ns.cs.msu.su (laskavy@redsun.cs.msu.su [158.250.10.2]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA21936 for ; Fri, 25 Jul 1997 01:28:56 -0700 (PDT) Received: (from laskavy@localhost) by ns.cs.msu.su (8.8.6/8.6.12) id MAA27045; Fri, 25 Jul 1997 12:29:04 +0400 (DST) Date: Fri, 25 Jul 1997 12:29:04 +0400 (DST) Message-Id: <199707250829.MAA27045@ns.cs.msu.su> From: "Sergei S. Laskavy" To: TLiddelow@cybec.com.au CC: jkh@time.cdrom.com, thorpej@nas.nasa.gov, freebsd-bugs@hub.freebsd.org In-reply-to: <33D7EC96.12F89534@cybec.com.au> (TLiddelow@cybec.com.au) Subject: Re: bin/4154: wish /bin/sleep handled fractions of a second. Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >>>>> "Tim" == Tim Liddelow writes: Wat do you think about the POSIXLY_CORRECT environment variable? Tim> 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. >> Tim> I do see your point. As an avid FreeBSD user and hacker, I Tim> want to see compatibility and I push this in my travels. Tim> What I should have said is that perhaps if you want or need Tim> extra features you need to somehow push standards bodies Tim> (pipe dream?) or write a portable shell work-around. Sergei S. Laskavy