On Thu, 2006-12-28 at 11:09 +1100, Jeffery Fernandez wrote:
> On Thursday 28 December 2006 08:04, Mike wrote:
> > On Wednesday 27 December 2006 20:24, Verner Kjærsgaard wrote:
> > > Now, utter OT..
> > >
> > > - may I ask, how do you automatically include the technical details
> > > of your computer in your signature?
> >
> > It's a script. I use one that's about the same. Here is what I use.
> >
> > #!/bin/bash
> > echo "Powered by SuSE 10.0 Kernel 2.6.13 X86_64 KDE 3.4 Kmail 1.8"
> > uptime
> >
> > In the sig area of your email client, tell it that it's a program, and
> > make it executable.
> >
> > Mike
> 
> cool idea.. I made it a bit more dynamic with the following:
> 
> #!/bin/bash
> powered=`cat /etc/SuSE-release | head -n 1`
> kernel=`uname -r`
> kde=`kde-config -v | grep KDE`
> 
> echo "Powered by $powered Kernel: $kernel"
> echo $kde
> uptime
> 
> 
#!/bin/bash
powered=`cat /etc/SuSE-release | head -n 1`
kernel=`uname -r`
kde=`kde-config -v | grep KDE`
up=`uptime`
echo "+===============================================================+"
echo "|  Powered by $powered Kernel: $kernel |"
echo "|  "$kde"                                                   |"
echo "|$up |"
echo "+===============================================================+"

+===============================================================+
|  Powered by SuSE Linux 9.2 (i586) Kernel: 2.6.8-24.25-default |
|  KDE: 3.3.0                                                   |
|  4:23pm  up   1:30,  2 users,  load average: 0.93, 0.93, 0.90 |
+===============================================================+

Looks like fun.
-- 
 ___ _ _ _ ____ _ _  _
|    | | | [__  | |  |
|___ |_|_| ___] |  \/

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to