grep

Brad Mears dbm at deltahp.nasa.gov
Mon Apr 15 23:37:26 AEST 1991


In article <1991Apr14.214414.9815 at hellgate.utah.edu>, 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? 

Look at the -exec option on find.  This executes the specified command for each
file found.

-- 
Brad Mears
dbm at deltahp.jsc.nasa.gov

----------------------------------------------------------------------------
Opinions are expressly forbidden.  | Definition of impiety :
I speak for myself and no other.   |"Noun, your irreverence toward my diety."
                                   |                    - Ambrose Bierce
----------------------------------------------------------------------------



More information about the Comp.unix.questions mailing list