home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!cs.utexas.edu!uwm.edu!ogicse!hsdndev!husc-news.harvard.edu!husc-news!huang1
- From: huang1@husc11.harvard.edu (Howard Huang)
- Newsgroups: comp.unix.questions
- Subject: Re: recursive grep'ing
- Message-ID: <HUANG1.92Dec29151332@husc11.harvard.edu>
- Date: 29 Dec 92 20:13:32 GMT
- Article-I.D.: husc11.HUANG1.92Dec29151332
- References: <Bzvwwo.Aq8@NCoast.ORG> <1992Dec28.043508.3237@csie.nctu.edu.tw>
- Organization: Harvard Arts and Sciences Computer Services, Cambridge, MA
- Lines: 20
- Nntp-Posting-Host: husc11.harvard.edu
- In-reply-to: cp78065@csie.nctu.edu.tw's message of Mon, 28 Dec 1992 04:35:08 GMT
-
- cp78065@csie.nctu.edu.tw (Ji-Tzay Yang) writes:
-
- find . -name "*" -print | xargs grep "YOUR PATTERN"
-
- Find will allow a shell-type expression to be specified as the name.
- You can do
-
- find . -name "*.tex" -print
-
- for example.
-
- Good luck...
-
-
- ------------------------------------------------------------------------------
- Howard C. Huang * The MITRE Corporation * hhuang@mitre.org
-
- There is warmth within one good word to last three
- winters; but a bad word wounds like six months' frost.
- ------------------------------------------------------------------------------
-