On Wed, Jul 30, 2003 at 12:51:02PM -0700, Samuel Flory wrote:
> That's a little complex why not grep "some text" /directory/*
>
> Or grep -r "some text" /directory if you want to search all of the files
> in any directorys within a directory.
Sorry, late to pay attention to this--assuming it hasn't been suggested,
how about the traditional Unix command pipeline:
find . -type f -print | xargs grep "some text"
where you can substitute the appropriate directory for the "." if that's
your wish (and yes, I know the "-print" is redundant in the Linux/GNU
version of find...). Oh, and use the appropriate version of grep,
too--grep, egrep, etc., if you wish.
--
Dave Ihnat
[EMAIL PROTECTED]
--
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://www.redhat.com/mailman/listinfo/redhat-list