Has anybody come across a shell script to parse a large number of text files, removing the CVS keyword replacement lines (all containing $Id:)?
For example
input: package com.shop.backoffice; import javax.servlet.http.HttpServletRequest; /** * Test class for blah * $Id: blah.java,v 1.2.2.3 2004/01/21 10:03:04 jwilson Exp $ */
If you have access to the repository, then you can use cvs export. It will turn that Id line into
* Id: blah.java,v 1.2.2.3 2004/01/21 10:03:04 jwilson Exp
(the $ characters are removed)
There's also a -k switch (check the manual) you can use with cvs update(?) or checkout that would leave it
* $Id$
Of course, if this is third party source, then you need a script.
Fred
_______________________________________________________________ Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/
_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs