Re: [hackers] [sbase][PATCH] Improvements to sleep(1):

From: Mattias Andrée <maandree_AT_kth.se>
Date: Wed, 30 Mar 2016 22:07:54 +0200

On Sat, 26 Mar 2016 18:35:44 +0000
Dimitris Papastamos <sin_AT_2f30.org> wrote:

> On Sat, Mar 26, 2016 at 06:31:57PM +0100, Mattias Andrée
> wrote:
> > - Add support for floating pointer numbers,
> > which you will find in other implementations.
> >
> > - Add support for suffixes [s|m|h|d], as
> > found in GNU sleep, which is very useful.
>
> I find these features overkill for sleep(1).
>

They probably are unnecessary. The few times
you need to sleep less than 1 second in a shell
script it is acceptable to do it in an inline
python script. And for long sleeps you can
write shell functions that converts from
minutes, hours, or days to seconds.

Received on Wed Mar 30 2016 - 22:07:54 CEST

This archive was generated by hypermail 2.3.0 : Wed Mar 30 2016 - 22:12:18 CEST