diff options
author | kib <kib@FreeBSD.org> | 2010-08-02 10:59:23 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-08-02 10:59:23 +0000 |
commit | ad97a57b125bacb5e8e039f1b807fc65d734b3fa (patch) | |
tree | d0a2f7af0676cfa360917e40e188499b3af9da0e /bin | |
parent | 58f67b3672cdcd81547cb431205e5ca12e1208a1 (diff) | |
download | FreeBSD-src-ad97a57b125bacb5e8e039f1b807fc65d734b3fa.zip FreeBSD-src-ad97a57b125bacb5e8e039f1b807fc65d734b3fa.tar.gz |
Document the new argument parser for sleep(1) and SIGINFO behaviour.
Remove higlight for the unportability notice.
MFC after: 3 weeks
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sleep/sleep.1 | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index bc56dbf..5dad81a 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -51,6 +51,10 @@ suspends execution for a minimum of If the .Nm command receives a signal, it takes the standard action. +When the +.Dv SIGINFO +signal is received, the estimate of the amount of seconds left to +sleep is printed on the standard output. .Sh IMPLEMENTATION NOTES The .Dv SIGALRM @@ -58,14 +62,11 @@ signal is not handled specially by this implementation. .Pp The .Nm -command will accept and honor a non-integer number of specified seconds -(with a -.Ql .\& -character as a decimal point). -.Bf Sy +command allows and honors a non-integer number of seconds to sleep +in any form acceptable by +.Xr strtod 3 . This is a non-portable extension, and its use will nearly guarantee that a shell script will not execute properly on another system. -.Ef .Sh EXIT STATUS .Ex -std .Sh EXAMPLES |