Operating System - HP-UX
1748256 Members
3997 Online
108760 Solutions
New Discussion юеВ

Seeking UNIX Tech Tips Data for Classic UNIX Fortune or Fish App

 
Alzhy
Honored Contributor

Seeking UNIX Tech Tips Data for Classic UNIX Fortune or Fish App

Some of you probly remember that classic UNIX Fortune program on the old BSD timeshares. Does anyone have a collection of datafiles that contains UNIX techtips? Or does anyone know how to format the files so I can create my own?

Thanks.
Hakuna Matata.
3 REPLIES 3
John Poff
Honored Contributor

Re: Seeking UNIX Tech Tips Data for Classic UNIX Fortune or Fish App

Hi,

It uses a newline character followed by '%%' or just '%'.

Take a look at this URL which explains it:

http://www.faqs.org/docs/artu/ch05s02.html

JP
John Poff
Honored Contributor

Re: Seeking UNIX Tech Tips Data for Classic UNIX Fortune or Fish App

And as for the tech tips data to use for the fortune program, you could probably mine some good answers from the forums here.

I would pay good money just to get a fortune file of Bill Hassell's wisdom. :)

JP
A. Clay Stephenson
Acclaimed Contributor

Re: Seeking UNIX Tech Tips Data for Classic UNIX Fortune or Fish App

When you do your make of fortune, make sure that you include the undocumented -o option. -o instructs fortune to output obscene instructions --- I'm not making this up.
If it ain't broke, I can fix that.