diff options
Diffstat (limited to 'bin/sleep/sleep.1')
-rw-r--r-- | bin/sleep/sleep.1 | 24 |
1 files changed, 16 insertions, 8 deletions
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index 237b57401463..1c5e6824123b 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -42,7 +42,7 @@ .Nm sleep .Nd suspend execution for an interval of time .Sh SYNOPSIS -.Nm sleep +.Nm .Ar seconds .Sh DESCRIPTION The @@ -50,17 +50,27 @@ The command suspends execution for a minimum of .Ar seconds . -.Nm Sleep -is used to schedule the execution of other commands (see -.Sx EXAMPLES -below). .Pp If the .Nm command receives a signal, it takes the standard action. +.Sh IMPLEMENTATION NOTES The .Dv SIGALRM signal is not handled specially by this implementation. +.Pp +The +.Nm +command will accept and honor a non-integer number of specified seconds +.Po +with a +.Ql \&. +character as a decimal point +.Pc . +.Bf Sy +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 DIAGNOSTICS The .Nm @@ -110,9 +120,7 @@ when the file is found, then another portion processing is done courteously by sleeping for 70 seconds in between each awk job. .Sh SEE ALSO -.Xr at 1 , -.Xr nanosleep 2 , -.Xr sleep 3 +.Xr nanosleep 2 .Sh STANDARDS The .Nm |