Changeset View
Changeset View
Standalone View
Standalone View
usr.bin/fortune/fortune/fortune.6
Show All 25 Lines | |||||
.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | ||||
.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
.\" SUCH DAMAGE. | .\" SUCH DAMAGE. | ||||
.\" | .\" | ||||
.\" @(#)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 | ||||
.Nm fortune | .Nm fortune | ||||
.Nd "print a random, hopefully interesting, adage" | .Nd "print a random, hopefully interesting, adage" | ||||
.Sh SYNOPSIS | .Sh SYNOPSIS | ||||
.Nm | .Nm | ||||
.Op Fl aDefilosw | .Op Fl aDefilosw | ||||
▲ Show 20 Lines • Show All 135 Lines • ▼ Show 20 Lines | |||||
.Bl -tag -width ".Pa /usr/share/games/fortune/*" | .Bl -tag -width ".Pa /usr/share/games/fortune/*" | ||||
.It Pa /usr/share/games/fortune/* | .It Pa /usr/share/games/fortune/* | ||||
the fortunes databases (those files ending | the fortunes databases (those files ending | ||||
.Dq Pa -o | .Dq Pa -o | ||||
contain the | 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 . |