From nobody Tue May 24 09:33:25 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 77E4B1B4AEAA; Tue, 24 May 2022 09:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L6psd2xTFz3HHl; Tue, 24 May 2022 09:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653384805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VMpFyTjgRpUlbiCktiCYC5bhetGIrDHMBq+7FX36tVw=; b=ViuA2rTbZaiTTACo0V0NU/hGqvKfgDMxGhrUPukKZv7sQclcl09SdBjVojLM294vc/DAoi i1uqm1BTkbQQrk68qBWkUzN2MhcEu24moOs7CV//eMFRDlDKK89E2xDGqZtKqzQ3oBktuB iKfbGqotr5fyhlVwI5+b7SrQ3bh1afmDSGPmV+wBiebB8Y4BtdShMJZ0ZV0wKqLHoCKYRd acti0WPbdRFOogDqam5YlPrSqMlWeUDTowSrZpwE219rpq/DDY21DqjZA7rweh9Rd3uDAH AZN1SNDhpLkuPJ45W7xLENJw0uzqhX64K5DzVeHnhUE6maJc8wQLVUnbia2eSg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 44B8021F2F; Tue, 24 May 2022 09:33:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24O9XPQ9015487; Tue, 24 May 2022 09:33:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24O9XPv8015486; Tue, 24 May 2022 09:33:25 GMT (envelope-from git) Date: Tue, 24 May 2022 09:33:25 GMT Message-Id: <202205240933.24O9XPv8015486@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: =?utf-8?Q?Stefan E=C3=9Fer?= Subject: git: 81cea61f3b3a - main - bin/sleep: document more non-standard features List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: se X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 81cea61f3b3a17b600364ef19498c01266c9ff1b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1653384805; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VMpFyTjgRpUlbiCktiCYC5bhetGIrDHMBq+7FX36tVw=; b=lsKtnW9OJ1TtGPWQfb4DkVETSfIfy6sxoC4/YrcLg5xn75i5jHstRy9j67FwxFSRnXCOMM 6Vb/76G+eNQ/9I7uHrrmFwnYP+mNlsr7detlYHj2jJbvl4EJRwmJ3CWGsakYUqTDoWCwjq Xm7FAILaBmNhfMC2RCv4NTdoUWyWwGTaVTshU8nlaKYZRWiuaniDmEjPFaqkqBZoCAFmTt rjczrWxRRSfaMt41175iavPC822v9CsZbM8M37WQn8VtyDdrvZt0Ng5XUBp0FIf//DHh1f 5rJIIVUkl9rbap0LN8m5DsLLoawhWuTW33hlWLdZaxtPTB9UHd+nZ1BXsHHPPQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1653384805; a=rsa-sha256; cv=none; b=lzWUaqFR9VAYHLOOpKRlRtk6+IW64H2nGRr1jwYa6BY9ydWElgzOm/cq6N6n5w/Vogg9CX Z7R8mxTLlOKR89ONM8GOJgNlr31l5zdQohASMI7mVRBUmVn2j5o7zCoefwE00QasUTyUeC MjPugSGRrHvaqDvo6w9GEIA16xM68zClnYn6aHgJLOe0FRJkKSJLVoPwqQe9Yo/AJ/e9xp NPInggGyHZeAvRFIUt0Qfc8joNs0CdG6xJDV2RgMALQSUO3p2SD1Tm9zF36xD6Viekl6m+ NGIyNENKIkE15v3UMU1ckR5Tifp6lZrv2o7nIrB0ZuXfyTzjWQSpCehG6EKG9w== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by se: URL: https://cgit.FreeBSD.org/src/commit/?id=81cea61f3b3a17b600364ef19498c01266c9ff1b commit 81cea61f3b3a17b600364ef19498c01266c9ff1b Author: Stefan Eßer AuthorDate: 2022-05-24 09:31:21 +0000 Commit: Stefan Eßer 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