aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorBenjamin Kaduk <bjk@FreeBSD.org>2021-01-01 03:17:40 +0000
committerBenjamin Kaduk <bjk@FreeBSD.org>2021-01-01 03:18:20 +0000
commit43d0803c4545861e8f2411aec0987968b2e4a299 (patch)
tree3f2b424f254fbedb1825aadac235a795e473fb84 /bin
parent9997aedb8f2fc9e2460a577431b4861ff6d06fc6 (diff)
downloadsrc-43d0803c4545861e8f2411aec0987968b2e4a299.tar.gz
src-43d0803c4545861e8f2411aec0987968b2e4a299.zip
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
Diffstat (limited to 'bin')
-rw-r--r--bin/sleep/sleep.16
1 files 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