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

Re: Best practices: living with .svn?

From: Stephen Peters <portnoy_at_portnoy.org>
Date: 2004-04-11 17:41:55 CEST

Brad Cox <bcox@virtualschool.edu> writes:

> #1 on the wish list: what is the svn-friendly way to use grep -r foo
> src to find all the foos in my working src directory, without
> interference from hits in svn's administrative area (.svn). Hopefully
> a global setting somewhere so I don't have to type special commands
> each time. There are hopeful prospects in the man pages but I've not
> yet hit on a working combination.

I've made use of
  alias rg='grep --exclude=\*.svn\* -r'

And then was able to type
  rg foo src

Stephen L. Peters                                  portnoy@portnoy.org
  GPG fingerprint: A1BF 5A81 03E7 47CE 71E0  3BD4 8DA6 9268 5BB6 4BBE
 "I'm through accepting limits, 'cause someone says they're so.  Some
  things I cannot change, but 'til I try I'll never know." -- Wicked
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Apr 11 17:43:35 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.