shithub: riscv

ref: dde3628d54073e0569bf565e6ec861e42cfa35f6
dir: /sys/man/1/fortune/

View raw version
.TH FORTUNE 1
.SH NAME
fortune, theo, troll \- sample lines from a file
.SH SYNOPSIS
.B fortune
[
.I file
]
.br
.B theo
.br
.B troll
.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 .
.LP
.I Troll
is more specific than
.I fortune;
it specializes in inflammatory rhetoric.
.LP
.I Theo
is more specific than
.I troll;
it presents insults from OpenBSD founder
Theo de Raadt.
.SH FILES
.B /sys/games/lib/fortunes
.br
.B /sys/games/lib/fortunes.index
\ \ fast lookup table, maintained automatically
.br
.B /lib/theo
.br
.B /lib/troll
.SH SOURCE
.B /sys/src/cmd/fortune.c
.br
.br
.B /rc/bin/theo
.br
.B /rc/bin/troll
.SH HISTORY
.I Theo
and
.I troll
first appeared in 9front (July, 2011).
.SH AUTHORS
Some initial trolls were provided by ChrisPBS.