Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 1996 14:51:02 -0600
From:      Sean Kelly <kelly@fsl.noaa.gov>
To:        tcg@ime.net
Cc:        questions@freebsd.org
Subject:   Re: Recursive grep.
Message-ID:  <199607132050.UAA14591@gatekeeper.fsl.noaa.gov>
In-Reply-To: <31E7EF2F.4258@ime.net> (message from Gary Chrysler on Sat, 13 Jul 1996 14:47:11 -0400)

next in thread | previous in thread | raw e-mail | index | archive | help
>>>>> "Gary" == Gary Chrysler <tcg@ime.net> writes:

    Gary> Could someone please show me an example using grep to search
    Gary> through files in a tree. ie: recursivly.

      find <tree-root> -type f | xargs grep <pattern> /dev/null

-- 
Sean Kelly                          
NOAA Forecast Systems Laboratory    kelly@fsl.noaa.gov
Boulder Colorado USA                http://www-sdd.fsl.noaa.gov/~kelly/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607132050.UAA14591>