bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sleep args


From: Eric Blake
Subject: Re: sleep args
Date: Fri, 16 Jun 2006 22:29:19 +0000

> Could check for e.g., sleep 4 5

This is a well-defined extension of GNU sleep; it is
equivalent to sleep 9.  GNU adds its arguments,
so that you can do, for example, 'sleep 1m 30s' to
sleep for 90 seconds.

However, it does raise the point that sleep does not
like negative numbers, even though it might be useful:
'sleep 1m -1s' could sleep 59 seconds rather than
giving an error.

-- 
Eric Blake




reply via email to

[Prev in Thread] Current Thread [Next in Thread]