grep

Jack Dixon jcd at spock.att.com
Tue Apr 16 18:13:31 AEST 1991


>From article <1207 at nikhefh.nikhef.nl>, by a20 at nikhefh.nikhef.nl (Marten Terpstra):
> mmoore%hellgate.utah.edu at 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 at vogon.att.com }



More information about the Comp.unix.questions mailing list