QUOTES is a FORTRAN90 program which extracts and displays a random "quote" 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 GNU LGPL license.
QUOTES is available in a FORTRAN90 version.
You can go up one level to the FORTRAN90 source codes.