[sanesecurity] Re: [patch] Re: update script broken on FreeBSD

  • From: Craig Green <cgreen@xxxxxxxxxx>
  • To: sanesecurity@xxxxxxxxxxxxx
  • Date: Tue, 20 Jan 2009 18:55:52 -0500

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.
------


Other related posts: