-----Original Message-----
From: Michael Nemeth [mailto:user-609d3fab5b2d@xymon.invalid]
Sent: Dienstag, 9. Januar 2007 14:34
To: hobbit
Subject: [hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0
of
adminscripts
True but I believe that solaris comes with perl and old one but one
should handle the date stuff.
Atlest the one system I found here that does have an update perl
reports
sun pkg SUNWpl5u,
Can any one confirm this? And can anyone supply the code to do a
timestamp like the GNU date +%s ?
a one liner hopefull (like perl -e '$date=localtime(time); print
"$date
\n" ;' )
Instead of using localtime() just use time()...
perl -e '$date=time(); print "$date\n";'
1168350264
Johann
Yes but than must perl available.
I think i include an switch in the next version which test what is
available and what not.
--
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
| _p_ Mike Nemeth
| ___| |_____ email(w) user-609d3fab5b2d@xymon.invalid Work: XXX XXX-XXXX
|><___________) | Home
Page:http://www.geocities.com/mjnemeth/
| Work Page:http://scorpion/~nemethm/
| Work Page:http://ortfsb/~mnemeth/
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++