[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [OFT] scripting removal of $Id:
From: |
Lemke, Michael IZ/HZA-IOP |
Subject: |
RE: [OFT] scripting removal of $Id: |
Date: |
Fri, 20 Feb 2004 17:25:32 +0100 |
Hm how about:
sed -e '/\$Id:.*\$/ d'
Command line suffices.
Michael
> -----Original Message-----
> From: Euan Guttridge [mailto:address@hidden
> Sent: Friday, February 20, 2004 4:58 PM
> 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
>