From owner-freebsd-hackers Sun Oct 12 08:14:30 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA26566 for hackers-outgoing; Sun, 12 Oct 1997 08:14:30 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from labinfo.iet.unipi.it (labinfo.iet.unipi.it [131.114.9.5]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id IAA26560 for ; Sun, 12 Oct 1997 08:14:25 -0700 (PDT) (envelope-from luigi@labinfo.iet.unipi.it) Received: from localhost (luigi@localhost) by labinfo.iet.unipi.it (8.6.5/8.6.5) id OAA03525; Sun, 12 Oct 1997 14:54:39 +0100 From: Luigi Rizzo Message-Id: <199710121354.OAA03525@labinfo.iet.unipi.it> Subject: Re: wish /bin/sleep handled fractions of a second. To: xaa@stack.nl (Mark Huizer) Date: Sun, 12 Oct 1997 14:54:38 +0100 (MET) Cc: joerg_wunsch@uriah.heep.sax.de, freebsd-hackers@FreeBSD.ORG, denny1@home.com In-Reply-To: <19971012152916.52277@xaa.stack.nl> from "Mark Huizer" at Oct 12, 97 03:28:57 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > I'd like it too. Is it too tough? Perhaps in 2 weeks, after finishing my > graduation, I could look at it. Either you change sleep to look like: > > sleep [-m] NUMBER > > where -m means: the NUMBER is in milliseconds > > or you make it: > > sleep NUMBER[.NUMBER] > > where .number is the decimal part of the second. > > Any preferences? better the one with fractional notation, and since you are at it, make it handle microseconds or in 3-4 years with the Intel-P9 @ 2.49GHz we are going to have the same problem of not enough resolution... Cheers Luigi