Date: Tue, 1 Feb 2005 11:35:36 -0800 (PST) From: Matthew Dillon <dillon@apollo.backplane.com> To: Julian Elischer <julian@elischer.org> Cc: current@freebsd.org Subject: Re: cynchronised sleep capbilty.. Message-ID: <200502011935.j11JZaR6095484@apollo.backplane.com> References: <20050201101113.J572@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
:I often find myself wanting to write shell scripts that do: : :... : :while: :do : report results : sleep -until_next 10 :done : : :I have inplemented something like this with a crude :shell function that sleeps up to 9 seconds to get to I think integrating such an option into /bin/sleep is an excellent idea. I have had need for such a feature myself on occassion. :thirdly: is it worth making sleep a shell builtin? :running sleep(1) every time is a lot of work for what :we need. : :julian I don't think this is necessary. -Matt
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200502011935.j11JZaR6095484>