[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OFT] scripting removal of $Id:

From: Geoff Beier
Subject: Re: [OFT] scripting removal of $Id:
Date: Fri, 20 Feb 2004 11:31:58 -0500
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

Euan Guttridge wrote:
Has anybody come across a shell script to parse a large number of text
files, removing the CVS keyword replacement lines (all containing $Id:)?

It's not a shell script, but is the -kk option to checkout or export good enough for you? It doesn't remove the whole line (a bad idea anyway, since sometimes other information may be on the line :-)) but removes any potentially sensitive information.

For example, if you issue the command

cvs export -Dnow -kk module

all keywords in module will be changed to just the keyword value:

$Revision: 1.1$ becomes $Revision$ and so on.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]