Date: Tue, 24 May 2022 07:24:23 -0500 From: Mike Karels <mike@karels.net> To: Stefan =?utf-8?q?E=C3=9Fer?= <se@FreeBSD.org> Cc: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org Subject: Re: git: 81cea61f3b3a - main - bin/sleep: document more non-standard features Message-ID: <CFEE5362-D806-479B-9870-3B04313252B8@karels.net> In-Reply-To: <202205240933.24O9XPv8015486@gitrepo.freebsd.org> References: <202205240933.24O9XPv8015486@gitrepo.freebsd.org>
index | next in thread | previous in thread | raw e-mail
On 24 May 2022, at 4:33, Stefan Eßer wrote: > 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 Is there a reason you didn’t list the time units that are supported? It would also be good to say how they are specified. Mikehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CFEE5362-D806-479B-9870-3B04313252B8>
