[hobbit] Antwort: [hobbit] RE: Antwort: [hobbit] RE: V0.2.0 of adminscripts
-----Original Message----- From: Michael Nemeth [mailto:michael.nemeth at lmco.com] 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) michael.nemeth at lmco.com Work: 856 359-1425 |><___________) | Home Page:http://www.geocities.com/mjnemeth/ | Work Page:http://scorpion/~nemethm/ | Work Page:http://ortfsb/~mnemeth/
|++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
To unsubscribe from the hobbit list, send an e-mail to hobbit-unsubscribe at hswn.dk
participants (1)
-
Johann.Eggers@teleatlas.com