Newsgroups: fj.questions.unix
Path: galaxy.trc.rwcp.or.jp!coconuts.jaist!wnoc-tyo-news!news.nc.u-tokyo.ac.jp!news.t.u-tokyo.ac.jp!quest-news!Q.T.Honey!netaidnews!news6-tokyonet!tokyonet.ad.jp!post-tokyonet!taurus!usenet
From: manmos@stellar.co.jp (Hideo "Sir MaNMOS" Morishita)
Subject: Re: grep for sub-dir
Content-Type: text/plain; charset=ISO-2022-JP
Message-ID: <x2bu2t1vfc.fsf@capricorn.stellar.co.jp>
Sender: manmos@capricorn
Organization: Stellar Craft, Inc. Osaka,Japan.
X-Newsreader: Gnus v5.3/Emacs 19.34
References: <5tdf5a$crt$1@news-in.ten.fujitsu.co.jp>
Mime-Version: 1.0 (generated by tm-edit 7.105)
Date: Wed, 20 Aug 1997 01:43:03 GMT
Lines: 35
Xref: galaxy.trc.rwcp.or.jp fj.questions.unix:7334
X-originally-archived-at: http://galaxy.rwcp.or.jp/text/cgi-bin/newsarticle2?ng=fj.questions.unix&nb=7334&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.


$B?92<(B $B$*Be41MM(B $B#M#a#N#M#O#S$G$9!#(B

yanagida@ftms.ten.fujitsu.co.jp (Hidenori Yanagida) writes:
> $BLxED!wIY;NDL%F%s$H?=$7$^$9!#(B
> 
> $B=i$a$FEj9F$7$^$9!#(B
>   $BJ8;zNs8!:w%3%^%s%I(B grep $B$J$N$G$9$,!"%5%V%G%#%l%/%H%j0J2<$N(B
> $B%U%!%$%k$b:F5"E*$K8!:w$r9T$$$?$$>l9g$O$I$N$h$&$K$9$l$P$h$$(B
> $B$N$G$7$g$&$+!)(B $B$^$?JL$NJXMx$J%3%^%s%I$,B8:_$9$k$N$G$7$g$&$+!)(B
> $B!J(BOS$B$O(B Solaris2.x $B$G$9!K(B
> 
> $B8=:_$O!"%G%#%l%/%H%jKh$K(B grep $B$7$F$*$j$^$9$,!"%5%V%G%#%l%/%H%j$,(B
> $BB?$/6lO+$7$F$$$^$9!#(B
> UNIX$B=i?4<T$J$b$N$G=iJbE*$J<ALd$G$9$$$^$;$s$,$h$m$7$/$*4j$$$$$?$7$^$9!#(B

shell$B$r(Bzsh$B$K$7$F(B

grep pattern **/*.c

$B$H$+(B

find . -name '*.c' -exec grep pattern {} /dev/null \;

$B$H$+$,9M$($i$l$^$9!#(B

$B!t(Bfind$B$G$d$k$HCY$$!#(B



-- 
   ___     $B$o$7$O!";3?a?'$N$+$9$F!<$i$,Bg9%$-$G$N$%(B
 [[o o]]            $B$U$)$C$U$)$C$U$)(B
   'J'     $B?92<(B $B$*Be41MM(B $B#M#a#N#M#O#S(B $B1QIW!w%9%F%i%/%i%U%H(B
PGP Finger = CD EA D5 A8 AD B2 FE 7D  02 74 87 52 7C B7 39 37
