]> git.lizzy.rs Git - plan9front.git/blob - sys/man/1/fortune
paint(1) fix bad cross reference
[plan9front.git] / sys / man / 1 / fortune
1 .TH FORTUNE 1
2 .SH NAME
3 fortune, theo, troll \- sample lines from a file
4 .SH SYNOPSIS
5 .B fortune
6 [
7 .I file
8 ]
9 .br
10 .B theo
11 .br
12 .B troll
13 .SH DESCRIPTION
14 .I Fortune
15 prints a one-line aphorism chosen at random.
16 If a
17 .I file
18 is specified, the saying is taken from that file;
19 otherwise it is selected from
20 .BR /sys/games/lib/fortunes .
21 .LP
22 .I
23 Troll
24 is more specific than
25 .I fortune;
26 it specializes in inflammatory rhetoric.
27 .LP
28 .I
29 Theo
30 is more specific than
31 .I troll;
32 it presents insults from OpenBSD founder
33 Theo de Raadt.
34 .SH FILES
35 .B /sys/games/lib/fortunes
36 .br
37 .B /sys/games/lib/fortunes.index
38 \ \ fast lookup table, maintained automatically
39 .br
40 .B /lib/theo
41 .br
42 .B /lib/troll
43 .SH SOURCE
44 .B /sys/src/cmd/fortune.c
45 .br
46 .br
47 .B /rc/bin/theo
48 .br
49 .B /rc/bin/troll
50 .SH AUTHORS
51 Some initial trolls were provided by ChrisPBS.