|
From: Nicholas N. <n.n...@gm...> - 2009-06-04 01:01:53
|
On Thu, Jun 4, 2009 at 10:01 AM, Nicholas Nethercote <n.n...@gm...> wrote: > > Also, it looks like there might be some GNU-vs-BSD-sed issues in the > script, which I'll look at when I've finished the instructions. I'll > report back in a while. Argh, turns out it's GNU-vs-BSD issues to do with 'date'. On GNU, you specify the date 24 hours ago like this: date --date=yesterday on BSD you do this date -v-24H Neither of these are POSIX; POSIX date doesn't seem to have the capability of returning dates other than "now". So unless anyone knows something that'll work on all platforms, looks like we'll be doing platform tests or trying variants until something works. Nick |