This script was developed some time ago for a client of my wife's, with the intent of creating an automated "testimonial" presenter; each time the user of the intended page visited, they would see a different testimonial from one of the client's customers.
Rather than creating a simple hard-coded single-purpose script, I decided to put the extra few minutes into the job and created a generic script, which accepts a data file as a passed parameter and outputs a random line from the file. That way, testimonials (or fortunes, pithy sayings, whatever) can be maintained in a data file, and editing the data file changes the library of quotes. Since I had created a generic script, I figured I might as well make it available to anyone who wished to use it under the GPL.
The example here is from the SuSE 7.2 "fortunes" data file.
Before Xerox, five carbons were the maximum extension of anybody's
ego.
Download the SuSE 7.2 data file here.
Quote 1.0 (No longer available due to security issue)
Quote 1.1