Re: How to find files by text/subdirectories

1999-02-08 Thread Oliver Elphick
Ralph Winslow wrote: >Anthony Campbell wrote: >> >> On 07 Feb 1999q, Lance Hoffmeyer wrote: >> > What is the easiest way to locates files (say HTML) by text in their >> > documents? > >find director_and_subs_you_are_interested_in -exec grep "string you >seek" {} \; -print That w

Re: How to find files by text/subdirectories

1999-02-08 Thread Ralph Winslow
Anthony Campbell wrote: > > On 07 Feb 1999q, Lance Hoffmeyer wrote: > > What is the easiest way to locates files (say HTML) by text in their > > documents? find director_and_subs_you_are_interested_in -exec grep "string you seek" {} \; -print If you're only interested in html files, add -name "

Re: How to find files by text/subdirectories

1999-02-08 Thread Anthony Campbell
On 07 Feb 1999q, Lance Hoffmeyer wrote: > What is the easiest way to locates files (say HTML) by text in their > documents? 4DOS ffind is essentially what I am trying to do. Is there > a way to pipe 'find'? Or do I need to use gawk? > When I tried using gawk it would not allow me to search multi

Re: How to find files by text/subdirectories

1999-02-08 Thread Mitch Blevins
In foo.debian-user, you wrote: > Lance Hoffmeyer <[EMAIL PROTECTED]> writes: > > What is the easiest way to locates files (say HTML) by text in their > > documents? > > find ~/somedir -iname "*\.htm*" -exec grep -i "some text" {} \; -print Also look at the 'rgrep' package. rgrep "some text" /s

Re: How to find files by text/subdirectories

1999-02-07 Thread Morgan Fletcher
Lance Hoffmeyer <[EMAIL PROTECTED]> writes: > What is the easiest way to locates files (say HTML) by text in their > documents? find ~/somedir -iname "*\.htm*" -exec grep -i "some text" {} \; -print morgan -- VVV >> M o r g a n

Re: How to find files by text/subdirectories

1999-02-07 Thread Ole J. Tetlie
*-Lance Hoffmeyer <[EMAIL PROTECTED]> | | What is the easiest way to locates files (say HTML) by text in their | documents? 4DOS ffind is essentially what I am trying to do. Is there | a way to pipe 'find'? Or do I need to use gawk? | When I tried using gawk it would not allow me to search multi

How to find files by text/subdirectories

1999-02-07 Thread Lance Hoffmeyer
What is the easiest way to locates files (say HTML) by text in their documents? 4DOS ffind is essentially what I am trying to do. Is there a way to pipe 'find'? Or do I need to use gawk? When I tried using gawk it would not allow me to search multiple directories. I find never used gawk before