At 06:41 PM 2/11/2006, RickSisler said something remarkably like (but
somehow subtly different from):
Kevin B. O'Brien ([EMAIL PROTECTED]) wrote:
[snip]
> >> Assuming you save this file as "myquotes,"
> >> just point fortune to it:
> >>
> >> $> fortune /path/to/myquotes
> >> He who laughs last laughs loudest
>
> OK, I tried this, but when I run my script I get the error that my
> database is not a fortune database. I had to run the strfile command
> as root, and I tried running my script as root just to see if that
> made any difference, bit it didn't. Any idea where this went wrong?
>
> Thank you,
Kevin,
Does it work on the command-line ?
No, running it on the command-line is how I could see the error
message. In Evolution, the script simply does not produce the tag
line, but does not tell you why.
pls, could you post the script ?
#!/bin/bash
echo "<br>"
echo "-- <br>"
echo -e "Kevin B.
O'Brien TANSTAAFL\n<br>[EMAIL PROTECTED]<br>Registered
Linux user #333216<br>"
echo
/usr/games/fortune /home/kevin/Signatures/kobtagline.dat
Note that this is the correct location for the DAT file I created.
When I run it on the command line I get this:
fortune:/home/kevin/Signatures/kobtagline.dat not a fortune file or directory
fortune:/home/kevin/Signatures/kobtagline.dat not a fortune file or directory
No fortunes found
The repeated line is part of the output I get.
I also did a test with a file that had only a single tagline, with %
signs on the above and below lines, and created a DAT file from that,
but I got the same result.
Thank you,
--
Kevin B. O'Brien TANSTAAFL
[EMAIL PROTECTED] Linux User #333216
"Always do right. This will gratify some people, and astonish the
rest." -- Mark Twain
Help fight SPAM. Join CAUCE. http://www.cauce.org/
____________________________________________________
Want to buy your Pack or Services from Mandriva?
Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________