Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jul 1996 18:25:36 -0400
From:      Gary Chrysler <tcg@ime.net>
To:        Sean Kelly <kelly@fsl.noaa.gov>
Cc:        questions@freebsd.org
Subject:   Re: Recursive grep.
Message-ID:  <31E82260.63B2@ime.net>
References:  <199607132050.UAA14591@gatekeeper.fsl.noaa.gov>

next in thread | previous in thread | raw e-mail | index | archive | help
Sean Kelly wrote:
> 
> >>>>> "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
> 

Thanks Shawn, I'll give this a go.
I did try something simular, But not the same.
	find <tree-root> | grep <pattern>
didn't work though.. :(

Thanks.

-Enjoy
Gary
~~~~~~~~~~~~~~~~
Improve America's Knowledge... Share yours
The Borg... Where minds meet
(207) 929-3848



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?31E82260.63B2>