At 06:19 PM 2/4/2006, Glenn said something remarkably like (but somehow subtly different from):
On Saturday 04 February 2006 15:09, Kevin B. O'Brien wrote:

>
> Ah, thank you. fortune is already installed on my Linux box. Now I
> just need to figure out how to use it to create a signature in
> Evolution. If you have any thoughts on that I would be very happy to
> receive them.

Here's the script I use in KMail, in case it might be of use.  Haven't used
Evolution in a long time, so can't verify that it's usable in Evo.  I'll
comment out all of the lines (the only one that needs to stay commented in
the usable version is the /bin/bash line, of course.)

#!/bin/bash
#STR=$(uptime)
#TIME=${STR% user*}
#RESULT=${TIME% *}
#echo -n $RESULT
#echo " running $(cat /etc/mandrake-release), kernel $(uname -r)"
#echo "Registered Linux user #324360"
#echo
#/usr/games/fortune

OK, I am still missing something here. When I try to run the script, I get "Command not found". I have tried it with the first line commented out, or not commented, and it seems to make no difference. I did make it executable. I must be missing something simple, so if you have any idea, I would appreciate it.

Regards,


--
Kevin B. O'Brien         TANSTAAFL
[EMAIL PROTECTED]   Linux User #333216
"I was never ruined but twice: Once when I lost a lawsuit,
and once when I won one." -- Voltaire

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
____________________________________________________

Reply via email to