fortune

Print a random, hopefully interesting, adage

Contributed by
Mike Hopkirk (hops)
Obtained from
Net - NET2 distribution
Author(s)
Derived from code contrib to Berkeley by Ken Arnold.
Restrictions
Berkeley - See Copyright file here

Description

When fortune is run with no arguments it prints out a random epigram. Epigrams are divided into several categories, where each category is subdivided into those which are potentially offensive and those which are not. The options are as follows:
Productivity
Dependant on your appreciation of the relationship between amusement and productivity...
Safety
Examined code and run it occasionally
Work Planned
None
Documentation
Man Page
Verification
SKUNK_LIB=. ./fortune/fortune or
fortune

Build Notes

This source is configured to be installed under /usr/skunk. The datafiles are installed under /usr/skunk/lib/fortune/fortunes.

If installed elsewhere fortune can be told the new directory with the SKUNK_LIB enviromnent variable. THis variable if set has "fortune/fortunes" appended and is used as the pathname to find the data files ( it defaults to /usr/skunk/lib).

To change the default lib modify the pathnames.h header file in the src tree.

To build it for a different location, compile with make INSTALL_DIR=directory.


SkunkWare 5.0 1995