[MPlayer-dev-eng] [PATCH] version.sh behavior with Darwin

Il Demone Guardiano _kid at libero.it
Sun Nov 7 12:01:23 CET 2004


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.




More information about the MPlayer-dev-eng mailing list