Date: Tue, 24 May 2022 09:33:25 GMT From: =?utf-8?Q?Stefan E=C3=9Fer?= <se@FreeBSD.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: git: 81cea61f3b3a - main - bin/sleep: document more non-standard features Message-ID: <202205240933.24O9XPv8015486@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=81cea61f3b3a17b600364ef19498c01266c9ff1b commit 81cea61f3b3a17b600364ef19498c01266c9ff1b Author: Stefan Eßer <se@FreeBSD.org> AuthorDate: 2022-05-24 09:31:21 +0000 Commit: Stefan Eßer <se@FreeBSD.org> CommitDate: 2022-05-24 09:31:21 +0000 bin/sleep: document more non-standard features Add support of other time units than seconds to the IMPLEMENTATION NOTES section of the man page. MFC after: 1 week --- bin/sleep/sleep.1 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/bin/sleep/sleep.1 b/bin/sleep/sleep.1 index 85086acec5ad..f7da87152f99 100644 --- a/bin/sleep/sleep.1 +++ b/bin/sleep/sleep.1 @@ -70,9 +70,10 @@ signal is not handled specially by this implementation. .Pp The .Nm -command allows and honors a non-integer number of seconds to sleep -in any form acceptable by -.Xr strtod 3 and it accepts more than one delay value. +command supports other time units than seconds, +honors a non-integer number of time units to sleep in any form acceptable by +.Xr strtod 3 , +and accepts more than one delay value. These are non-portable extensions, but they have also been implemented in GNU sh-utils since version 2.0a (released in 2002). .Sh EXIT STATUS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205240933.24O9XPv8015486>