quotes, a FORTRAN90 code which extracts and displays a random quotation from a file.

This can be a cheerful utility to invoke at login time. It's best used with a file of your favorite quotes, jokes, fortunes or song lyrics. To produce a quote, the program first examines a file containing a list of quote files. It selects one of these at random. Then it opens the selected quote file, and chooses a block of text at random (delimited by blank lines), and prints it.


The computer code and data files made available on this web page are distributed under the MIT license


quotes is available in a FORTRAN90 version.

Related programs and data:


Source Code:

Quote files:

Last revised on 27 August 2021.