fortune(6): Add EXIT STATUS and HISTORY sections

Obtained from:	OpenBSD
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D27941
This commit is contained in:
Gordon Bergling 2021-01-03 23:50:18 +01:00
parent 3814bea00a
commit c949ba1d20

View File

@ -31,7 +31,7 @@
.\" @(#)fortune.6 8.3 (Berkeley) 4/19/94 .\" @(#)fortune.6 8.3 (Berkeley) 4/19/94
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd November 7, 2007 .Dd January 3, 2021
.Dt FORTUNE 6 .Dt FORTUNE 6
.Os .Os
.Sh NAME .Sh NAME
@ -183,8 +183,22 @@ contain the
.Sy offensive .Sy offensive
fortunes) fortunes)
.El .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 .Sh SEE ALSO
.Xr arc4random_uniform 3 , .Xr arc4random_uniform 3 ,
.Xr regcomp 3 , .Xr regcomp 3 ,
.Xr regex 3 , .Xr regex 3 ,
.Xr strfile 8 .Xr strfile 8
.Sh HISTORY
The
.Nm
utility first appeared
.At v7 .