Date: Thu, 24 Jul 1997 16:41:47 +1000 From: TLiddelow@cybec.com.au (Tim Liddelow) To: Jason Thorpe <thorpej@nas.nasa.gov> Cc: freebsd-bugs@hub.freebsd.org Subject: Re: bin/4154: wish /bin/sleep handled fractions of a second. Message-ID: <33D6F92B.C22DDE54@cybec.com.au> References: <199707240610.XAA11247@hub.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Jason Thorpe wrote: > > > This has been implemented in OpenBSD. The crucial portion of the > > code I submitted there has been pasted below. It would be nice to > > get such an extension adopted more widely in *BSD, so portable > scripts > > could use it. > > How on earth can you call such a script "portable" if it clearly uses > something not specified in POSIX? > Pedantic, man! The new /bin/sleep will handle BOTH formats. It handles a superset of the POSIX spec. No, it doesn't conform EXACTLY to the POSIX spec but it _will_ handle all cases that the original /bin/sleep did. I agree that of course it won't barf and be an error case now if you include a '.' but I still think that's a good thing. I think it's a good suggestion. Cheers Tim.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33D6F92B.C22DDE54>