[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: reverting changes to svn-base files

From: Scott Lawrence <slawrence_at_pingtel.com>
Date: 2004-05-03 18:33:19 CEST

On Mon, 2004-05-03 at 11:49, Jonathan Manning wrote:

> One problem we've encountered is the use of the following idiom:
> find . -type f -name \*.pm \
> | xargs perl -pi -e 's/origstring/somenewstring/g'

> And, on the prevention side, any better idioms for making sitewide changes?

Make the find command:

  find . -name .svn -prune -o -type f -name \*.pm -print

(using the explicit -print is important; it prevents the .svn
directories themselves from being printed)

-- 
Scott Lawrence        
  Pingtel Corp.   
  sip:slawrence {at} pingtel.com  
  +1.781.938.5306 x162
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon May 3 18:34:08 2004

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.