git: 9front

ref: 10a96be1b13426e85d22b4c7457484b94af95e6c
dir: /sys/man/1/fortune/

View raw version
.TH FORTUNE 1
.SH NAME
fortune \- sample lines from a file
.SH SYNOPSIS
.B fortune
[
.I file
]
.SH DESCRIPTION
.I Fortune
prints a one-line aphorism chosen at random.
If a
.I file
is specified, the saying is taken from that file;
otherwise it is selected from
.BR /sys/games/lib/fortunes .
.SH FILES
.B /sys/games/lib/fortunes
.br
.B /sys/games/lib/fortunes.index
\ \ fast lookup table, maintained automatically
.SH SOURCE
.B /sys/src/cmd/fortune.c