[mICQ] fix generate .cvsupdate in cvs version

Vladimír Marek vlmarek at volny.cz
Fri Apr 6 14:45:56 CEST 2007


> >--[Maxim Komar]--<komar at ukr.net>
> 
> > $Id:$ in my source code have date format like 2007-02-27.
> 
> How come? (I've always seen 200/02/27, and that's definately
> not German's native time format...)
> 
> > Can you commit one of them?
> > -	    | sed "s,.*\(20../../.. ..:..:..\).*,#define CVSUPDATE \"\1 UTC\"," \
> > +	    | sed "s,.*\(20..[-/]..[-/].. ..:..:..\).*,#define CVSUPDATE \"\1 UTC\"," \
> 
> Done.
> 
> > +	     -e 's/.* \([^ ]\{1,\} [^ ]\{1,\}\) [^ ]\{1,\} [^ ]\{1,\} [$$].*/#define CVSUPDATE "\1 UTC"/' \
> > +	    | sort | sed -ne 's,/,-,g' -e '$$p' > .cvsupdate
> 
> I'm not convinced that all sed implementation get { } right, as well
> as the $ line address. Check Solaris.

I plan to do regular builds on solaris from latest cvs. I'll be
screaming if something will break :)

-- 
	Vlad


More information about the mICQ-List mailing list