Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!aist-nara!odins-suita!narans!nide
From: nide@ics.nara-wu.ac.jp (NIDE Naoyuki)
Subject: Re: grep for sub-dir
Message-ID: <1997Aug20.074235.12565@cc.nara-wu.ac.jp>
Sender: news@cc.nara-wu.ac.jp
Nntp-Posting-Host: shannon.e.ics.nara-wu.ac.jp
Organization: Nara Women's University
X-Newsreader: mnews [version 1.19PL2] 1996-01/26(Fri)
References: <5tdf5a$crt$1@news-in.ten.fujitsu.co.jp>
	<x2bu2t1vfc.fsf@capricorn.stellar.co.jp>
	<T93141TK.97Aug20112624@ccs02.sfc.keio.ac.jp>
	<x267t11pbj.fsf@capricorn.stellar.co.jp>
Date: Wed, 20 Aug 1997 07:42:35 GMT
Lines: 10
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:7342
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=7342&hd=a
X-reformat-date: Mon, 18 Oct 2004 15:18:22 +0900
X-reformat-comment: Tabs were expanded into 4 column tabstops by the Galaxy's archiver. See http://katsu.watanabe.name/ancientfj/galaxy-format.html for more info.

In Message <x267t11pbj.fsf@capricorn.stellar.co.jp>,
manmos@stellar.co.jp writes:
> find ./ -type f -name '*.c' | xargs grep pattern /dev/null
> $B$H$9$k$H$b$C$H(BOK$B!*(B($B$b$7(B*.c$B$,0l$D$7$+$J$$;~$G$b%U%!%$%kL>$NI=<($"$j!#(B)

grep pattern `find . -type f -name '*.c' -print` /dev/null

$B$F$N$b$"$j$+$b!#%7%9%F%`$K$h$C$F$O!"8+$D$+$C$?%U%!%$%k$,B?$9$.$k$H<:GT$9(B
$B$k$3$H$,$"$j$^$9$1$I!#(B
nide@ics.nara-wu.ac.jp
