Recursive grep question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Kevin Buettner
Date:  
Subject: 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