fortune(1plan9)

fortune1plan9

Sample lines from a file

Usage

fortune [file]

Overview

Fortune prints a one-line aphorism chosen at random. If a file is specified, the saying is taken from that file; otherwise it is selected from /lib/fortunes.

Files

/lib/fortunes
/lib/fortunes.index fast lookup table, maintained automatically

Source

/src/cmd/fortune.c

Releases

Unchanged in 6 releases since Debian 8 (Jessie).

  1. 8–13

From 9base 1:6-14 in Debian 13 (Trixie). Parsed by carta from the page's man source.