atom feed12 messages in org.freebsd.freebsd-bugsRe: bin/4154: wish /bin/sleep handled...
FromSent OnAttachments
den...@home.comJul 23, 1997 10:18 pm 
Jason ThorpeJul 23, 1997 11:09 pm 
Tim LiddelowJul 23, 1997 11:41 pm 
Jordan K. HubbardJul 24, 1997 2:06 am 
Jordan K. HubbardJul 24, 1997 2:11 am 
Bruce EvansJul 24, 1997 5:25 am 
Jason ThorpeJul 24, 1997 9:43 am 
Tim LiddelowJul 24, 1997 5:00 pm 
Sergei S. LaskavyJul 25, 1997 1:28 am 
Jason ThorpeJul 25, 1997 7:54 am 
FreeBSD Technical ReaderJul 26, 1997 12:28 pm 
FreeBSD Technical ReaderJul 26, 1997 12:29 pm 
Subject:Re: bin/4154: wish /bin/sleep handled fractions of a second.
From:Tim Liddelow (TLid@cybec.com.au)
Date:Jul 23, 1997 11:41:26 pm
List:org.freebsd.freebsd-bugs

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.