2004-04-10 18:53:55 +00:00
|
|
|
.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
|
2004-04-19 19:22:56 +00:00
|
|
|
.B /usr/local/plan9/src/cmd/fortune.c
|