Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Oct 2021 16:34:13 GMT
From:      Mateusz Piotrowski <0mp@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: c1c3ef8ef84b - stable/13 - timeout.1: Fix typos in examples
Message-ID:  <202110241634.19OGYDc0093446@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 ,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110241634.19OGYDc0093446>