On Monday 17 September 2007, Bruno Haible wrote: > What do you use for recursive grepping? Is "grep -r --exclude=dir=.git" > working fine?
there is no way to filter directories with grep directly ... you have to chain find|xargs-grep sort of junk since git only takes up the toplevel with .git it's a lot easier to avoid than svn which has .svn in every dir, so i just dont grep the root dir but rather i glob the root stuff grep -r foo /path/to/coreutils/* -mike
signature.asc
Description: This is a digitally signed message part.
