Cool! Thanks, man! Wonder if that'll work in my pinerc... Only one way to find out, eh? ;-) On Thu, 20 Sep 2001, Tim Holmes wrote: > I have a line in my ~/.muttrc that goes in and adds that to the end of > my signature. There are various ways to do this, but here's how I do > it. > > set signature='cat /home/timh/.signature ; echo "Uptime: " ; echo > "--------------------------------------------------------------------" > ;uptime; echo " > --------------------------------------------------------------------"|' > > I put that all on one line in my ~/.muttrc and it adds that in there. > You can off course get rid of some of the information, or change how > it's presented, or even just print out the uptime by cutting out what > you want with a command like: > > [timh@eric timh]$ uptime | awk '{print $2,$3,$4}' > up 4 days, > > That's not my home workstations, which has a much better uptime to look > at, but I've not going through and created a script to pull that > information. But: > > [timh@r2d2 timh]$ uptime > 11:09pm up 58 days, 2:41, 23 users, load average: 0.06, 0.06, 0.08 > > Would like a lot better at the end of a signature! ;0) > tdh > > peace, Rog
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com