On Saturday 12 March 2005 09:09 pm, Kevin B. O'Brien wrote:
> I am wondering if there is a signature randomizer for Linux similar to
> KookieJar for Windows.
>
> Thank you,

Yes, its called fortune and I believe its installed as part of a normal 
install.  You can call it from a script such as this:

#!/bin/bash
echo "Chris"
echo "Registered Linux User 283774 http://counter.li.org";
STR=$(uptime)
TIME=${STR% user}
RESULT=${TIME%}
echo $RESULT
echo "Mandrake Linux 10.1 Official, kernel $(uname -r)"

echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"

/usr/games/fortune

echo "~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~"
if [ -p /tmp/xmms-info ] ; then echo "Live - Classic Rock - From Virgin Radio 
UK $( grep Title: /tmp/xmms-info | awk -F': ' '{print $2}' )"
fi

If using Kmail you can under "Settings > configure Kmail > identies > 
signature" then select "Obtain signature text from Output of Command.  For 
instance mine is /home/chris/./sig.  You can learn more about fortune from 
"man fortune"

HTH

-- 
Chris
Registered Linux User 283774 http://counter.li.org
21:21:31 up 16 days, 23:58, 1 user, load average: 0.25, 0.32, 0.27
Mandrake Linux 10.1 Official, kernel 2.6.8.1-12mdk
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Pushing 40 is exercise enough.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to