Date: Wed, 15 Apr 1998 02:56:06 +0100 From: Brian Somers <brian@Awfulhak.org> To: rotel@indigo.ie Cc: Poul-Henning Kamp <phk@FreeBSD.ORG>, denny1@home.com, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/4154 Message-ID: <199804150156.CAA25317@awfulhak.org> In-Reply-To: Your message of "Tue, 14 Apr 1998 22:52:17 -0000." <199804142152.WAA01576@indigo.ie>
next in thread | previous in thread | raw e-mail | index | archive | help
> On Apr 14, 12:19pm, Poul-Henning Kamp wrote: > } Subject: Re: bin/4154 > > Synopsis: wish /bin/sleep handled fractions of a second. > > > > State-Changed-From-To: feedback-suspended > > State-Changed-By: phk > > State-Changed-When: Tue Apr 14 12:18:38 PDT 1998 > > State-Changed-Why: > > ->suspended. > > Hrm, how about I write code to support two forms of sleep: > > sleep n > > which sleeps n seconds, and > > sleep -d | -h | -m | -s | -u duration ... > > which sleeps the specified number of days, hours, minutes, seconds > or microseconds. You can even specify multiple arguments and use > floating point numbers so that > > sleep -d 1.5 -m 2 -s 4 > > would mean sleep 1/2 days, 2 minutes and 4 seconds. > > Whaddyall think? A solution looking for a problem or the best > invention since sliced bread? I think this is a good idea, but it may be worth staying consistent with the -v option to date (syntax-wise). > Niall > > -- > Niall Smart. Microsoft Suck. See www.freebsd.org for details. > echo "#define if(x) if(!(x))" >> /usr/include/stdio.h -- Brian <brian@Awfulhak.org>, <brian@FreeBSD.org>, <brian@OpenBSD.org> <http://www.Awfulhak.org> Don't _EVER_ lose your sense of humour.... To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804150156.CAA25317>