git: 43d0803c4545 - main - Soften caveat about fractional seconds for sleep(1)
Benjamin Kaduk
bjk at FreeBSD.org
Fri Jan 1 03:18:26 UTC 2021
The branch main has been updated by bjk (doc committer):
URL: https://cgit.FreeBSD.org/src/commit/?id=43d0803c4545861e8f2411aec0987968b2e4a299
commit 43d0803c4545861e8f2411aec0987968b2e4a299
Author: Benjamin Kaduk <bjk at FreeBSD.org>
AuthorDate: 2021-01-01 03:17:40 +0000
Commit: Benjamin Kaduk <bjk at FreeBSD.org>
CommitDate: 2021-01-01 03:18:20 +0000
Soften caveat about fractional seconds for sleep(1)
Support for fractional seconds has become much more widespread since
this text was originally written.
Reported by: Mark Eichin
Reviewed by: gbe, jilles
Differential Revision: https://reviews.freebsd.org/D26208
---
bin/sleep/sleep.1 | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1
index 937c78abdb15..924bc732a0d0 100644
--- a/bin/sleep/sleep.1
+++ b/bin/sleep/sleep.1
@@ -32,7 +32,7 @@
.\" @(#)sleep.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd April 18, 1994
+.Dd December 31, 2020
.Dt SLEEP 1
.Os
.Sh NAME
@@ -65,8 +65,8 @@ The
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.
+This is a non-portable extension, but is also implemented in GNU sh-utils
+since version 2.0a (released in 2002).
.Sh EXIT STATUS
.Ex -std
.Sh EXAMPLES
More information about the dev-commits-src-main
mailing list