Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!sdd.hp.com!think.com!snorkelwacker.mit.edu!spool.mu.edu!sol.ctr.columbia.edu!emory!tridom!atssc!fang!att!cbnewsi!cbnewsh!cbnewse!att!spock!jcd From: jcd@spock.att.com (Jack Dixon) Newsgroups: comp.unix.questions Subject: Re: grep Message-ID: <1991Apr16.081331.24818@cbnewse.att.com> Date: 16 Apr 91 08:13:31 GMT References: <1207@nikhefh.nikhef.nl> Sender: jcd@spock.att.com (Jack Dixon) Reply-To: jcd@spock.att.com (Jack Dixon) Organization: AT&T Bell Laboratories Lines: 14 From article <1207@nikhefh.nikhef.nl>, by a20@nikhefh.nikhef.nl (Marten Terpstra): > mmoore%hellgate.utah.edu@cs.utah.edu (Michael Moore) writes: > >> Does anyone know if there is an easy way to recursively search for a >>pattern down the entire file tree of a directory? > This is what I use: find dir -type f -print | xargs grep pattern -- -- Jack Dixon, AT&T Network Systems { ...!att!vogon!jcd, jcd@vogon.att.com }