Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!apple!agate!stanford.edu!eos!aio!deltahp!dbm From: dbm@deltahp.nasa.gov (Brad Mears) Newsgroups: comp.unix.questions Subject: Re: grep Keywords: grep, recursive Message-ID: <1991Apr15.133726.3613@aio.jsc.nasa.gov> Date: 15 Apr 91 13:37:26 GMT References: <1991Apr14.214414.9815@hellgate.utah.edu> Sender: dbm@gothamcity.jsc.nasa.gov (Brad Mears) Organization: Barrios Technology @ NASA/JSC; Houston Lines: 18 In article <1991Apr14.214414.9815@hellgate.utah.edu>, 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? Look at the -exec option on find. This executes the specified command for each file found. -- Brad Mears dbm@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 ----------------------------------------------------------------------------