Recursive grep question

Forside
Vedhæftede filer:
Indlæg som e-mail
+ (text/plain)
Slet denne besked
Besvar denne besked
Skribent: Kevin Buettner
Dato:  
Emne: Recursive grep question
On Sep 26, 3:14pm, Alan Dayley wrote:

> I gave the 'r' option for a recursive search and I know that the subX
> diretories have *.c files. But, grep appearently does not decend into
> the subX directories because the top directory has no *.c files. How do
> I make it search the subX directories anyway?


find . -name '*.c' | xargs grep foobar

Kevin