7 Nov
2004
7 Nov
'04
11:01 a.m.
On 7 Nov 2004, at 00:48, Dominik 'Rathann' Mierzejewski wrote:
Looks like a terrible overkill to me. Can't this be done with date?
Nope: the BSD date simply returns the current date. So does Solaris. So does HP-UX.
Is MOX really that broken? And since you're calling awk several times, couldn't you make it once?
It's not a matter of being broken. It's a matter of date being just date. I simply copied and adapted the code from BSD/OS (already present in the same script), and given the limited use of this script (just once per ./configure) I think there's no need to spend time in optimizing it.