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

Chris Roccati roccati at pobox.com
Fri May 20 21:54:13 CEST 2005


On May 20, 2005, at 21:23 , Diego Biurrun wrote:

> On Fri, May 20, 2005 at 08:48:12PM +0200, Chris Roccati wrote:
>> There's something totally wrong in using something like:
>> last_cvs_update=`perl -e 'use POSIX qw(strftime);  print strftime  
>> "%y%
>> m%d-%H:%M\n", localtime((stat "CVS/Entries")[9])'`

> I don't understand, what are you trying to say here?

What I'm trying to say is why try to cope with the apparently endless  
variations of output from the various version of ls, using arcane  
incantations based on cut/awk/sed/whatever, when a single line of  
perl will do?
Expecially considering that perl is provided in almost every unix- 
like currently available?





More information about the MPlayer-dev-eng mailing list