<?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: Not grep!</title>
	<atom:link href="http://prefetch.net/blog/index.php/2007/02/09/not-grep/feed/" rel="self" type="application/rss+xml" />
	<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/</link>
	<description>Blog O' Matty</description>
	<lastBuildDate>Tue, 07 Feb 2012 02:31:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: matty</title>
		<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/comment-page-1/#comment-50608</link>
		<dc:creator>matty</dc:creator>
		<pubDate>Sat, 14 Apr 2007 19:14:06 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/09/not-grep/#comment-50608</guid>
		<description>Hi Ceri,

Your right! I forgot to type in the egrep &quot;-v&quot; option. Oops #2!

- Ryan</description>
		<content:encoded><![CDATA[<p>Hi Ceri,</p>
<p>Your right! I forgot to type in the egrep &#8220;-v&#8221; option. Oops #2!</p>
<p>- Ryan</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ceri Davies</title>
		<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/comment-page-1/#comment-50455</link>
		<dc:creator>Ceri Davies</dc:creator>
		<pubDate>Fri, 13 Apr 2007 09:48:13 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/09/not-grep/#comment-50455</guid>
		<description>Perhaps it&#039;s because the commands that you quoted do completely opposite things ;-)</description>
		<content:encoded><![CDATA[<p>Perhaps it&#8217;s because the commands that you quoted do completely opposite things ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas</title>
		<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/comment-page-1/#comment-39322</link>
		<dc:creator>Thomas</dc:creator>
		<pubDate>Mon, 12 Feb 2007 07:58:20 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/09/not-grep/#comment-39322</guid>
		<description>I have just begin digging through the scripts that HP OVO uses for monitoring, this is how they try to determine if knfsd is installed or not: rpm -qa &#124; grep knfsd &#124; wc -l` -eq 1 &amp;&amp; ${USE_KERNEL_NFSD} != &quot;no&quot;. There is plenty more terrible &#039;newbe&#039; stuff in their scritps...</description>
		<content:encoded><![CDATA[<p>I have just begin digging through the scripts that HP OVO uses for monitoring, this is how they try to determine if knfsd is installed or not: rpm -qa | grep knfsd | wc -l` -eq 1 &amp;&amp; ${USE_KERNEL_NFSD} != &#8220;no&#8221;. There is plenty more terrible &#8216;newbe&#8217; stuff in their scritps&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: matty</title>
		<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/comment-page-1/#comment-39044</link>
		<dc:creator>matty</dc:creator>
		<pubDate>Sat, 10 Feb 2007 14:38:53 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/09/not-grep/#comment-39044</guid>
		<description>Ooops -- thanks for the correction Andy!</description>
		<content:encoded><![CDATA[<p>Ooops &#8212; thanks for the correction Andy!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Miller</title>
		<link>http://prefetch.net/blog/index.php/2007/02/09/not-grep/comment-page-1/#comment-38936</link>
		<dc:creator>Andy Miller</dc:creator>
		<pubDate>Sat, 10 Feb 2007 05:59:35 +0000</pubDate>
		<guid isPermaLink="false">http://prefetch.net/blog/index.php/2007/02/09/not-grep/#comment-38936</guid>
		<description>You mean the logic operations built into find? :-)  (Since the object is to bypass the fork to grep)

I think one of the reasons is that the find syntax can be somewhat arcane, and even the newest sysadmins know what grep does.  By the the time you realize find can do so much more, find &#124; grep is eternally committed to muscle memory.  

More seasoned sysadmins might realize (after maintaining one too many &#039;what the hell was he thinking when he wrote this?&#039;, or perhaps even more commonly, &#039;what the hell was I thinking when I wrote this?&#039; type scripts) that often clarity wins over efficiency, especially in non-time critical applications. 

(So I guess I&#039;m chiming on your poll for a data point of &quot;both :-) )

-Andy</description>
		<content:encoded><![CDATA[<p>You mean the logic operations built into find? :-)  (Since the object is to bypass the fork to grep)</p>
<p>I think one of the reasons is that the find syntax can be somewhat arcane, and even the newest sysadmins know what grep does.  By the the time you realize find can do so much more, find | grep is eternally committed to muscle memory.  </p>
<p>More seasoned sysadmins might realize (after maintaining one too many &#8216;what the hell was he thinking when he wrote this?&#8217;, or perhaps even more commonly, &#8216;what the hell was I thinking when I wrote this?&#8217; type scripts) that often clarity wins over efficiency, especially in non-time critical applications. </p>
<p>(So I guess I&#8217;m chiming on your poll for a data point of &#8220;both :-) )</p>
<p>-Andy</p>
]]></content:encoded>
	</item>
</channel>
</rss>

