Kevin B. O'Brien ([EMAIL PROTECTED]) wrote: > 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 Hi Kevin, point fortune to the actual file with the qoutes like this instead:
/usr/games/fortune /home/kevin/Signatures/kobtagline Try that 8) as an example: $ fortune qoutes2 "Success is how high you bounce when you hit bottom." - General George Patton $ fortune qoutes2.dat fortune:/home/ricks/bin/qoutes2.dat not a fortune file or directory No fortunes found -- RickS ~ Somewhere, just out of sight, the unicorns are gathering ~ ~ discussing the faithful mail sorting program: /dev/null ~ ____________________________________________________ Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com Join the Club : http://www.mandrivaclub.com ____________________________________________________
