From owner-dev-commits-src-branches@freebsd.org Sun Jan 10 12:03:24 2021 Return-Path: Delivered-To: dev-commits-src-branches@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3F0434C9B7D; Sun, 10 Jan 2021 12:03:24 +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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DDFq01H5Mz4XY7; Sun, 10 Jan 2021 12:03:24 +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 1EB1427ACE; Sun, 10 Jan 2021 12:03:24 +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 10AC3OFu084233; Sun, 10 Jan 2021 12:03:24 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 10AC3OZQ084232; Sun, 10 Jan 2021 12:03:24 GMT (envelope-from git) Date: Sun, 10 Jan 2021 12:03:24 GMT Message-Id: <202101101203.10AC3OZQ084232@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Gordon Bergling Subject: git: fae87eeff2e3 - stable/12 - fortune(6): Add EXIT STATUS and HISTORY sections MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gbe X-Git-Repository: src X-Git-Refname: refs/heads/stable/12 X-Git-Reftype: branch X-Git-Commit: fae87eeff2e3bf787de089793ae47422b08584fa Auto-Submitted: auto-generated X-BeenThere: dev-commits-src-branches@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the stable branches of the FreeBSD src repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jan 2021 12:03:24 -0000 The branch stable/12 has been updated by gbe (doc committer): URL: https://cgit.FreeBSD.org/src/commit/?id=fae87eeff2e3bf787de089793ae47422b08584fa commit fae87eeff2e3bf787de089793ae47422b08584fa Author: Gordon Bergling AuthorDate: 2021-01-03 22:50:18 +0000 Commit: Gordon Bergling CommitDate: 2021-01-10 12:02:25 +0000 fortune(6): Add EXIT STATUS and HISTORY sections Obtained from: OpenBSD Differential Revision: https://reviews.freebsd.org/D27941 (cherry picked from commit c949ba1d202c6e939e71f1cb555958b8de3dd048) --- usr.bin/fortune/fortune/fortune.6 | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/usr.bin/fortune/fortune/fortune.6 b/usr.bin/fortune/fortune/fortune.6 index bc6e26e182a0..2660cf8bf20c 100644 --- a/usr.bin/fortune/fortune/fortune.6 +++ b/usr.bin/fortune/fortune/fortune.6 @@ -31,7 +31,7 @@ .\" @(#)fortune.6 8.3 (Berkeley) 4/19/94 .\" $FreeBSD$ .\" -.Dd November 7, 2007 +.Dd January 3, 2021 .Dt FORTUNE 6 .Os .Sh NAME @@ -183,8 +183,22 @@ contain the .Sy offensive fortunes) .El +.Sh EXIT STATUS +.Ex -std +In particular, if +.Fl l , +.Fl m , +or +.Fl s +is specified, failure to find a matching citation in the selected +files counts as an error. .Sh SEE ALSO .Xr arc4random_uniform 3 , .Xr regcomp 3 , .Xr regex 3 , .Xr strfile 8 +.Sh HISTORY +The +.Nm +utility first appeared +.At v7 .