From nobody Sun Oct 24 16:34:13 2021 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 05A30180BEE4; Sun, 24 Oct 2021 16:34:14 +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 4HckF16lXvz4TvF; Sun, 24 Oct 2021 16:34:13 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 C744818A53; Sun, 24 Oct 2021 16:34:13 +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 19OGYDit093447; Sun, 24 Oct 2021 16:34:13 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19OGYDc0093446; Sun, 24 Oct 2021 16:34:13 GMT (envelope-from git) Date: Sun, 24 Oct 2021 16:34:13 GMT Message-Id: <202110241634.19OGYDc0093446@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: c1c3ef8ef84b - stable/13 - timeout.1: Fix typos in examples 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: 0mp X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: c1c3ef8ef84b49f3a4db0fc2953db30c75235292 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by 0mp (doc, ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=c1c3ef8ef84b49f3a4db0fc2953db30c75235292 commit c1c3ef8ef84b49f3a4db0fc2953db30c75235292 Author: Mateusz Piotrowski <0mp@FreeBSD.org> AuthorDate: 2021-10-21 11:06:45 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2021-10-24 16:33:37 +0000 timeout.1: Fix typos in examples MFC after: 3 days (cherry picked from commit 12615938c6e0bc3ca7604a8b0614ff23d9964370) --- usr.bin/timeout/timeout.1 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/usr.bin/timeout/timeout.1 b/usr.bin/timeout/timeout.1 index b9613128755e..843c6215cc80 100644 --- a/usr.bin/timeout/timeout.1 +++ b/usr.bin/timeout/timeout.1 @@ -26,7 +26,7 @@ .\" .\" $FreeBSD$ .\" -.Dd July 7, 2020 +.Dd October 21, 2021 .Dt TIMEOUT 1 .Os .Sh NAME @@ -161,7 +161,7 @@ $ echo $? .Pp Same as above but preserving status. Exit status is 128 + signal number (15 for -.Va SIGTERM ) +.Va SIGTERM ) : .Bd -literal -offset indent $ timeout --preserve-status 2 sleep 4 $ echo $? @@ -171,7 +171,7 @@ $ echo $? Same as above but sending .Va SIGALRM (signal number 14) instead of -.Va SIGTERM +.Va SIGTERM : .Bd -literal -offset indent $ timeout --preserve-status -s SIGALRM 2 sleep 4 $ echo $? @@ -189,8 +189,8 @@ signal after 1 minute and send a .Va SIGKILL signal 5 seconds later if the process refuses to stop: .Bd -literal -offset indent -timeout -k 5s 1m fetch \\ -https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html +$ timeout -k 5s 1m fetch \\ +> https://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html .Ed .Sh SEE ALSO .Xr kill 1 ,