[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [OFT] scripting removal of $Id:
From: |
Rick Genter |
Subject: |
RE: [OFT] scripting removal of $Id: |
Date: |
Fri, 20 Feb 2004 08:27:33 -0800 |
Can't you do this with a one-liner using sed?
sed -e '/\$Id:.*\$/d'
Rick
--
Rick Genter
Sr. Software Engineer
Silverlink Communications
<mailto:address@hidden>
(781) 272-3080 x242
This e-mail, including attachments, may include confidential and/or
proprietary information, and may only be used by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify
the sender by replying to this message and delete this e-mail
immediately.
-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Euan Guttridge
Sent: Friday, February 20, 2004 10:58 AM
To: address@hidden
Subject: [OFT] scripting removal of $Id:
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 $
*/
output:
package com.shop.backoffice;
import javax.servlet.http.HttpServletRequest;
/**
* Test class for blah
*/
Thanks
_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs