Subject: Re: date feature request
To: None <netbsd-users@NetBSD.org>
From: George Georgalis <george@galis.org>
List: netbsd-users
Date: 11/16/2006 15:26:54
On Wed, Nov 15, 2006 at 01:39:30PM -0500, Christos Zoulas wrote:
>On Nov 15, 12:24pm, smb@cs.columbia.edu ("Steven M. Bellovin") wrote:
>-- Subject: Re: date feature request
>
>| The main reason I wrote it is that back then, most computers didn't have
>| TOD clocks, and I wanted to make it easy for people to set the time when
>| rebooting...
>
>The reason I added it is because it makes date math in scripts easy, like:
>
>    date -d 'yesterday' +%Y%m%d
>or
>    date -d 'last friday' +%Y%m%d
>
>I used to install gnu date to be able to do that, but now it is not needed
>anymore :-)

Thanks Christos. In response to your post I tried it and found
jdarrow's commit to add -j support instead :-} now I see your
commit is in there as well, great, both patches much appreciated,
will try -d soon.

but I am wondering why Mr Bellovin's file is here
/usr/src/gnu/dist/cvs/lib/getdate.y
the license in the header is clearly not gnu so it conflicts with
hier(7)---should it be moved?

// George


-- 
George Georgalis, systems architect, administrator <IXOYE><