On Oct 29, 2007, at 3:18 PM, Mark Post wrote:
On Mon, Oct 29, 2007 at 4:08 PM, in message
<[EMAIL PROTECTED]>, Adam Thornton
<[EMAIL PROTECTED]> wrote:
-snip-
Although most distros provide rgrep now, which does the same thing
but is somewhat shorter. rgrep target directory.
I don't see rgrep anywhere on SLES10, so not an option for the OP.
Even so, from what I can find on Google, rgrep is the same as "grep
-r" which won't find files whose name contains "target" but will
find all files under directory that have the string "target"
somewhere within the file itself. Or is there some new feature for
rgrep that my searches aren't turning up?
Der.
It's equivalent to "find $2 -f -print0 | xargs -0 grep $1"
So it looks in the files, not at their names. Ignore me. It's
Friday somewhere.
Adam
----------------------------------------------------------------------
For LINUX-390 subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit
http://www.marist.edu/htbin/wlvindex?LINUX-390