Recursive grep question

Páxina inicial
Anexos:
Mensaxe orixinal
+ (text/plain)
Borrar esta mensaxe
Responder a esta mensaxe
Autor: Kevin Buettner
Data:  
Asunto: 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