From owner-freebsd-bugs Tue Apr 14 16:56:20 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA21797 for freebsd-bugs-outgoing; Tue, 14 Apr 1998 16:56:20 -0700 (PDT) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from indigo.ie (root@ts01-48.waterford.indigo.ie [194.125.139.111]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id XAA21270; Tue, 14 Apr 1998 23:54:33 GMT (envelope-from rotel@indigo.ie) Received: (from nsmart@localhost) by indigo.ie (8.8.8/8.8.7) id WAA01576; Tue, 14 Apr 1998 22:52:17 +0100 (IST) (envelope-from rotel@ginseng.indigo.ie) From: Niall Smart Message-Id: <199804142152.WAA01576@indigo.ie> Date: Tue, 14 Apr 1998 22:52:17 +0000 In-Reply-To: Poul-Henning Kamp "Re: bin/4154" (Apr 14, 12:19pm) Reply-To: rotel@indigo.ie X-Mailer: Mail User's Shell (7.2.6 beta(3) 11/17/96) To: Poul-Henning Kamp , denny1@home.com, freebsd-bugs@FreeBSD.ORG Subject: Re: bin/4154 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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? Niall -- Niall Smart. Microsoft Suck. See www.freebsd.org for details. echo "#define if(x) if(!(x))" >> /usr/include/stdio.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message