home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.questions
- Path: sparky!uunet!spool.mu.edu!darwin.sura.net!jvnc.net!news.edu.tw!cc.ntnu.edu.tw!news!news.csie.nctu.edu.tw!cp78065
- From: cp78065@csie.nctu.edu.tw (Ji-Tzay Yang)
- Subject: Re: recursive grep'ing
- Message-ID: <1992Dec28.043508.3237@csie.nctu.edu.tw>
- Sender: usenet@csie.nctu.edu.tw
- Organization: Computer Science & Information Engin., Chiao-Tung U, Taiwan, ROC
- X-Newsreader: TIN [version 1.1 PL6]
- References: <Bzvwwo.Aq8@NCoast.ORG>
- Date: Mon, 28 Dec 1992 04:35:08 GMT
- Lines: 27
-
- Brad Banko (btb@NCoast.ORG) wrote:
- :
- : A small question, is it possible to recursively grep files? This could
- : be very useful, especially since many users on my unix box have files that con-
- : tain illegalities. Any help thru e-mail would be greatly appreciated.
- :
- :
- : --
- : Brad Banko
- : Internet : btb@ncoast.org
- :
- :
-
- Try the following line:
-
- find . -name "*" -print | xargs grep "YOUR PATTERN"
-
- --
- With regard,
-
- ============================================================================
- Ji-Tzay Yang (╖¿ ░≥ ╕ⁿ) | E-mail : cp78065@csie.nctu.edu.tw
- Dept. of Comp. Science & Info. Eng. | u7817065@cc.nctu.edu.tw
- National Chiao-Tung University | Tel : 886-35-712121 ext 6430
- Hsin-Chu, Taiwan ROC | Fax : 886-35-721486
- ============================================================================
-
-