<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Recursive grep</title>
	<atom:link href="http://www.tech-recipes.com/rx/732/recursive-grep/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/732/recursive-grep/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sun, 22 Nov 2009 03:12:08 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Lee</title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-6262</link>
		<dc:creator>Lee</dc:creator>
		<pubDate>Wed, 17 Dec 2008 19:07:44 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-6262</guid>
		<description>This is a fantastic tip, thank you!</description>
		<content:encoded><![CDATA[<p>This is a fantastic tip, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-3400</link>
		<dc:creator></dc:creator>
		<pubDate>Thu, 21 Jun 2007 08:41:42 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-3400</guid>
		<description>For those of you with a really stripped down config with no xargs and a find that doesn&#039;t support -exec, the old fashioned way:

&lt;code&gt;for i in `find &lt;path&gt;`; do grep &lt;pattern&gt; $i; done&lt;/code&gt;
</description>
		<content:encoded><![CDATA[<p>For those of you with a really stripped down config with no xargs and a find that doesn&#8217;t support -exec, the old fashioned way:</p>
<p><code>for i in `find &lt;path&gt;`; do grep &lt;pattern&gt; $i; done</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-3382</link>
		<dc:creator></dc:creator>
		<pubDate>Sun, 27 May 2007 10:51:15 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-3382</guid>
		<description>find&#124;xargs grep &#039;search text&#039;

is easier to type :-)

xargs rocks.</description>
		<content:encoded><![CDATA[<p>find|xargs grep &#8217;search text&#8217;</p>
<p>is easier to type :-)</p>
<p>xargs rocks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-2302</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Tue, 15 Nov 2005 21:11:13 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2302</guid>
		<description>It&#039;s so great. Thanks.</description>
		<content:encoded><![CDATA[<p>It&#8217;s so great. Thanks.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: </title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-2109</link>
		<dc:creator></dc:creator>
		<pubDate>Wed, 03 Aug 2005 07:28:50 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2109</guid>
		<description>find /users/ -type f -name &quot;*&quot; -exec grep -ls sqlload {} ;
It gives output like this:
/users/hattb/shirley_test_file

The -type f switch tells it to only look in text files.
If you want to redirect the output to a file: 
find /users/hattb -type f -name &quot;*&quot; -exec grep -ls sqlload {} ; &gt;out.txt

Hope this helps,
Shirley</description>
		<content:encoded><![CDATA[<p>find /users/ -type f -name &#8220;*&#8221; -exec grep -ls sqlload {} ;<br />
It gives output like this:<br />
/users/hattb/shirley_test_file</p>
<p>The -type f switch tells it to only look in text files.<br />
If you want to redirect the output to a file:<br />
find /users/hattb -type f -name &#8220;*&#8221; -exec grep -ls sqlload {} ; &gt;out.txt</p>
<p>Hope this helps,<br />
Shirley</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: seacoder</title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-2043</link>
		<dc:creator>seacoder</dc:creator>
		<pubDate>Thu, 30 Jun 2005 08:00:39 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-2043</guid>
		<description>find . -name &quot;*&quot; -exec grep &lt;pattern&gt; {} /dev/null ;</description>
		<content:encoded><![CDATA[<p>find . -name &#8220;*&#8221; -exec grep &lt;pattern&gt; {} /dev/null ;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-1698</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Thu, 28 Apr 2005 14:30:36 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-1698</guid>
		<description>that&#039;s great and all, but you dont get filenames</description>
		<content:encoded><![CDATA[<p>that&#8217;s great and all, but you dont get filenames</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: htihan</title>
		<link>http://www.tech-recipes.com/rx/732/recursive-grep/comment-page-1/#comment-1640</link>
		<dc:creator>htihan</dc:creator>
		<pubDate>Mon, 18 Apr 2005 08:25:13 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-1640</guid>
		<description>Thank you so much,

It is one of those days.. I spent almost an hour for this.....

Best, peace...
Hal</description>
		<content:encoded><![CDATA[<p>Thank you so much,</p>
<p>It is one of those days.. I spent almost an hour for this&#8230;..</p>
<p>Best, peace&#8230;<br />
Hal</p>
]]></content:encoded>
	</item>
</channel>
</rss>
