summaryrefslogtreecommitdiff
path: root/man/1/fortune
diff options
context:
space:
mode:
Diffstat (limited to 'man/1/fortune')
-rw-r--r--man/1/fortune23
1 files changed, 23 insertions, 0 deletions
diff --git a/man/1/fortune b/man/1/fortune
new file mode 100644
index 00000000..6b612925
--- /dev/null
+++ b/man/1/fortune
@@ -0,0 +1,23 @@
+.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 /lib/games/fortunes .
+.SH FILES
+.B /lib/games/fortunes
+.br
+.B /lib/games/fortunes.index
+\ \ fast lookup table, maintained automatically
+.SH SOURCE
+.B /appl/cmd/fortune.b