First, you have to find the path where fortune files are stored. In the man file of fortune, there is a chapter “FILES” in which you can find the default path for fortune files. Your path may be different, maybe you have to search for it. Put the files “rationality” and “rationality.dat” into this path and test using the command fortune rationality. If it doesn’t work, you can try to generate your own .dat file using the command strfile rationality.
I’d be interested to know whether this worked for you and what steps where necessary, since I didn’t try this with different fortune installations.
That worked. Running “strfile rationality” on my system produces a different rationality.dat than the one you have checked into your repository, but “fortune rationality” works now.
I also updated my fortune file, so that you can get random rationality quotes to your unix terminal. You can find it here.
How do I use it? Fortune is being obstructive.
First, you have to find the path where fortune files are stored. In the man file of fortune, there is a chapter “FILES” in which you can find the default path for fortune files. Your path may be different, maybe you have to search for it. Put the files “rationality” and “rationality.dat” into this path and test using the command
fortune rationality
. If it doesn’t work, you can try to generate your own .dat file using the commandstrfile rationality
.I’d be interested to know whether this worked for you and what steps where necessary, since I didn’t try this with different fortune installations.
That worked. Running “strfile rationality” on my system produces a different rationality.dat than the one you have checked into your repository, but “fortune rationality” works now.
(It doesn’t need to be copied to a system path.)