Re: Do a grep -r without match .svn directory ?

2006-12-06 Thread Pádraig Brady
> On 12/4/06, KLEIN Stéphane <[EMAIL PROTECTED]> wrote: >> Hi, >> >> In vim, I would like do a :grep -r but don't match .svn directory. >> Grep or vim have this feature ? Have a look at http://www.pixelbeat.org/scripts/findrepo Pádraig.

Re: Do a grep -r without match .svn directory ?

2006-12-06 Thread john_oshea
KLEIN Stéphane wrote: > Hi, > > In vim, I would like do a :grep -r but don't match .svn directory. > Grep or vim have this feature ? You may, possibly, be interested in 'ack': "ack is a replacement for grep, aimed at programmers with large trees of heterogeneous sourc

Re: Do a grep -r without match .svn directory ?

2006-12-05 Thread Bob Davis
I tested it with '*svn*' and on cygwin grep which is: grep (GNU grep) 2.5.1 and it worked. Strangely enough if I put '*.svn*' it didn't work. bob Gary Johnson wrote: Hi Bob, That doesn't seem to work either. I executed the following: cd ~/.vim grep -Rli --exclude=\*syntax\* mainta

Re: Do a grep -r without match .svn directory ?

2006-12-05 Thread Gary Johnson
On 2006-12-05, "A.J.Mechelynck" <[EMAIL PROTECTED]> wrote: > Greg Matheson wrote: > > On Tue, 05 Dec 2006, A.J.Mechelynck wrote: > > > >> KLEIN Stéphane wrote: > >>> Hi, > > > >> This is actually OT for Vim, since grep is an external program; but you > >> can use > > > >>grep -r --exclude=PATT

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
Greg Matheson wrote: On Tue, 05 Dec 2006, A.J.Mechelynck wrote: KLEIN Stéphane wrote: Hi, This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory matching the pattern (at least with GNU grep). Apparently

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread Greg Matheson
On Tue, 05 Dec 2006, A.J.Mechelynck wrote: > KLEIN Stéphane wrote: > >Hi, > This is actually OT for Vim, since grep is an external program; but you can > use > grep -r --exclude=PATTERN > to skip any directory matching the pattern (at least with GNU grep). Apparently this doesn't work f

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread A.J.Mechelynck
KLEIN Stéphane wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? Thanks for you help Stephane This is actually OT for Vim, since grep is an external program; but you can use grep -r --exclude=PATTERN to skip any directory

Re: Do a grep -r without match .svn directory ?

2006-12-04 Thread Yegappan Lakshmanan
Hi, On 12/4/06, KLEIN Stéphane <[EMAIL PROTECTED]> wrote: Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? If you use the grep.vim plugin, then you can set the Grep_Skip_Dirs variable to skip the .svn directory. You can get this plugin fr

Do a grep -r without match .svn directory ?

2006-12-04 Thread KLEIN Stéphane
Hi, In vim, I would like do a :grep -r but don't match .svn directory. Grep or vim have this feature ? Thanks for you help Stephane