John Horne wrote:
On Tue, 2009-01-20 at 18:42 -0500, Craig Green wrote:Only tested on FreeBSD, but I'm pretty certain 'date +%s' is portable.Not on Solaris (9 or 10 sparc).
Drat, you're right. Solaris' strftime doesn't include %s, according to http://docs.sun.com/app/docs/doc/816-0213/6m6ne38ce?a=view.
Know a quick way of getting Solaris to spit out Unix time? Craig. ------