<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dragffy.com &#187; grep</title>
	<atom:link href="http://dragffy.com/blog/posts/tag/grep/feed" rel="self" type="application/rss+xml" />
	<link>http://dragffy.com/blog</link>
	<description>The development, documentation, and blogging domain of Gabriel Dragffy.</description>
	<lastBuildDate>Wed, 16 Nov 2011 11:17:43 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Grope, a Ruby script for enhanced Grepping</title>
		<link>http://dragffy.com/blog/posts/grope-a-ruby-script-for-enhanced-grepping</link>
		<comments>http://dragffy.com/blog/posts/grope-a-ruby-script-for-enhanced-grepping#comments</comments>
		<pubDate>Wed, 19 Mar 2008 17:56:54 +0000</pubDate>
		<dc:creator>Gabe</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Operating System]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Ruby]]></category>
		<category><![CDATA[grep]]></category>
		<category><![CDATA[grope]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[search]]></category>

		<guid isPermaLink="false">http://dragffy.com/blog/posts/grope-a-ruby-script-for-enhanced-grepping</guid>
		<description><![CDATA[There was a time when I would recursively grep the contents of literally thousands of files at a time to search for particular occurances of characters. The usual starting place was something using grep, which we can time for crude benchmarking: user@localhost$ time grep -rn 'hello' * templates/temp.tpl:1:hello real 1m56.190s user 0m1.400s sys 0m0.940s Using [...]]]></description>
			<content:encoded><![CDATA[<p>There was a time when I would recursively grep the contents of literally thousands of files at a time to search for particular occurances of characters. The usual starting place was something using grep, which we can time for crude benchmarking:<br />
<code><br />
user@localhost$ time grep -rn 'hello' *<br />
templates/temp.tpl:1:hello</p>
<p>real    1m56.190s<br />
user    0m1.400s<br />
sys     0m0.940s<br />
</code></p>
<p>Using Ruby to write a script, which I named Grope, I made the search process 450 times faster, reducing an operation that took more than a minute to taking a blink of an eye&#8230;<br />
<code><br />
user@localhost$ time grope 'hello'<br />
templates/festival/06/temp.tpl: 1<br />
hello...</p>
<p>real    0m0.181s<br />
user    0m0.100s<br />
sys     0m0.070s<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://dragffy.com/blog/posts/grope-a-ruby-script-for-enhanced-grepping/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

