Recursive grep question

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Kevin Buettner
日付:  
題目: 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