<?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: grep is a beautiful tool</title>
	<atom:link href="http://eriwen.com/tools/grep-is-a-beautiful-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/</link>
	<description>Programming productively with open-source tools</description>
	<lastBuildDate>Sat, 06 Mar 2010 23:29:49 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: links for 2009-03-04 &#124; it's about time</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-2218</link>
		<dc:creator>links for 2009-03-04 &#124; it's about time</dc:creator>
		<pubDate>Wed, 04 Mar 2009 10:02:56 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-2218</guid>
		<description>[...] grep is a beautiful tool - Eric Wendelin’s Blog Global Regular Expression Print is a staple of every command-line user’s toolbox. As with find, it derives a lot of power from being combined with other tools and can increase your productivity significantly. Following is a simple tutorial that will help you realize the power of this simple and most useful command. (tags: reference howto tutorial linux unix bash shell commands grep) [...]</description>
		<content:encoded><![CDATA[<p>[...] grep is a beautiful tool &#8211; Eric Wendelin’s Blog Global Regular Expression Print is a staple of every command-line user’s toolbox. As with find, it derives a lot of power from being combined with other tools and can increase your productivity significantly. Following is a simple tutorial that will help you realize the power of this simple and most useful command. (tags: reference howto tutorial linux unix bash shell commands grep) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: richard</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-2015</link>
		<dc:creator>richard</dc:creator>
		<pubDate>Sat, 29 Nov 2008 02:24:07 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-2015</guid>
		<description>I would like to have a conversion doc to transcribe from OS 9 arabic fonts to OS X arabic fonts. I wrote a page of equivalences a=^ and in BBedit noticed grep has a base there but how would I write a command line such that all the individual letters change at once? Or can i pay someone to write it?
thanks</description>
		<content:encoded><![CDATA[<p>I would like to have a conversion doc to transcribe from OS 9 arabic fonts to OS X arabic fonts. I wrote a page of equivalences a=^ and in BBedit noticed grep has a base there but how would I write a command line such that all the individual letters change at once? Or can i pay someone to write it?<br />
thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Discovering the beauty of grep</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1890</link>
		<dc:creator>Discovering the beauty of grep</dc:creator>
		<pubDate>Mon, 10 Nov 2008 05:22:29 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1890</guid>
		<description>[...] This blog post offers a great introduction to grep. I&#8217;m definitely going to have to give it a close read, and try to improve my skills with this tool. [...]</description>
		<content:encoded><![CDATA[<p>[...] This blog post offers a great introduction to grep. I&#8217;m definitely going to have to give it a close read, and try to improve my skills with this tool. [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henrikb</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1824</link>
		<dc:creator>henrikb</dc:creator>
		<pubDate>Tue, 21 Oct 2008 14:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1824</guid>
		<description>Noticed that my example was a bit unclear, so here is a clarified version
&lt;code&gt;
grep -r -n --include=*.java synchronized ~/src
&lt;/code&gt;
which finds all occurences of the synchronized keyword.

Since I love to promote Emacs as the perfect editor, I should also mention that you, ofcourse(!), can grep for the word under the cursor by supplying an argument to the &#039;ESC x grep&#039; command. This is easily done by executing &#039;C-u M-x grep&#039;, which replaces the pattern of the last grep command with the word under the cursor. Very efficient...</description>
		<content:encoded><![CDATA[<p>Noticed that my example was a bit unclear, so here is a clarified version<br />
<code><br />
grep -r -n --include=*.java synchronized ~/src<br />
</code><br />
which finds all occurences of the synchronized keyword.</p>
<p>Since I love to promote Emacs as the perfect editor, I should also mention that you, ofcourse(!), can grep for the word under the cursor by supplying an argument to the &#8216;ESC x grep&#8217; command. This is easily done by executing &#8216;C-u M-x grep&#8217;, which replaces the pattern of the last grep command with the word under the cursor. Very efficient&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: henrikb</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1821</link>
		<dc:creator>henrikb</dc:creator>
		<pubDate>Tue, 21 Oct 2008 14:36:42 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1821</guid>
		<description>Don&#039;t think anyone mentioned the --include option of grep, which avoids matches in unrelated files such as svn-stuff, etc.
&lt;code&gt;
grep -r ~/src --include=*.java.
&lt;/code&gt;
You can include multiple --include= statements and the complment --exclude is also available.

As a side note, for Emacs users, there is a nice *grep* buffer which contains the result of your last grep, provided you execute via &#039;ESC x grep&#039;. When running grep like this from Emacs, you also have access to a searchable(!) grep-history with your previous grep commands. You navigate in the grep history by using ESC p (previous), ESC n (next) and ESC r (reverse search).</description>
		<content:encoded><![CDATA[<p>Don&#8217;t think anyone mentioned the &#8211;include option of grep, which avoids matches in unrelated files such as svn-stuff, etc.<br />
<code><br />
grep -r ~/src --include=*.java.<br />
</code><br />
You can include multiple &#8211;include= statements and the complment &#8211;exclude is also available.</p>
<p>As a side note, for Emacs users, there is a nice *grep* buffer which contains the result of your last grep, provided you execute via &#8216;ESC x grep&#8217;. When running grep like this from Emacs, you also have access to a searchable(!) grep-history with your previous grep commands. You navigate in the grep history by using ESC p (previous), ESC n (next) and ESC r (reverse search).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vim is a beautiful tool</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1681</link>
		<dc:creator>Vim is a beautiful tool</dc:creator>
		<pubDate>Thu, 18 Sep 2008 15:28:17 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1681</guid>
		<description>[...] you are there check out some of his other articles. There are some great ones on grep, sed, awk, and lots [...]</description>
		<content:encoded><![CDATA[<p>[...] you are there check out some of his other articles. There are some great ones on grep, sed, awk, and lots [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vasudev Ram</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1287</link>
		<dc:creator>Vasudev Ram</dc:creator>
		<pubDate>Mon, 01 Sep 2008 22:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1287</guid>
		<description>Since someone above asked, for non UNIX/Linux platforms - at least Windows - an alternative to installing Cygwin - which is somewhat big - if you don&#039;t need the rest of it&#039;s functionality, is to search for and download any one of a number of DOS / Windows grep clones. One simple way to get a good one is to download Turbo C 2.x from the Borland Museum (Borland&#039;s development tools division is now CodeGear which is now part of Embarcadero Technologies). Google for &quot;Borland Museum&quot; or search around on CodeGear.com to get the download link. Turbo C comes with a GREP.COM utility - though it was for DOS, it still works at the Windows COMMAND prompt (which is basically a DOS emulation in Windows). And it has a &quot;-d&quot; option, IIRC, which is equivalent to &quot;grep -r&quot;. You can delete the installed Turbo C if you don&#039;t want it, after copying the GREP.COM somewhere else in your PATH.

Similarly, I&#039;ve found and used DOS/Windows clones of awk and sed. The GNUWin32 project also has a collection of ports (to Windows) some of the classic UNIX command-line tools, IIRC. For example, here is its port of grep:

http://gnuwin32.sourceforge.net/packages/grep.htm

- Vasudev Ram
www.dancingbison.com</description>
		<content:encoded><![CDATA[<p>Since someone above asked, for non UNIX/Linux platforms &#8211; at least Windows &#8211; an alternative to installing Cygwin &#8211; which is somewhat big &#8211; if you don&#8217;t need the rest of it&#8217;s functionality, is to search for and download any one of a number of DOS / Windows grep clones. One simple way to get a good one is to download Turbo C 2.x from the Borland Museum (Borland&#8217;s development tools division is now CodeGear which is now part of Embarcadero Technologies). Google for &#8220;Borland Museum&#8221; or search around on CodeGear.com to get the download link. Turbo C comes with a GREP.COM utility &#8211; though it was for DOS, it still works at the Windows COMMAND prompt (which is basically a DOS emulation in Windows). And it has a &#8220;-d&#8221; option, IIRC, which is equivalent to &#8220;grep -r&#8221;. You can delete the installed Turbo C if you don&#8217;t want it, after copying the GREP.COM somewhere else in your PATH.</p>
<p>Similarly, I&#8217;ve found and used DOS/Windows clones of awk and sed. The GNUWin32 project also has a collection of ports (to Windows) some of the classic UNIX command-line tools, IIRC. For example, here is its port of grep:</p>
<p><a href="http://gnuwin32.sourceforge.net/packages/grep.htm" rel="nofollow">http://gnuwin32.sourceforge.net/packages/grep.htm</a></p>
<p>- Vasudev Ram<br />
<a href="http://www.dancingbison.com" rel="nofollow">http://www.dancingbison.com</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awk is a beautiful tool</title>
		<link>http://eriwen.com/tools/grep-is-a-beautiful-tool/#comment-1275</link>
		<dc:creator>awk is a beautiful tool</dc:creator>
		<pubDate>Mon, 01 Sep 2008 16:06:47 +0000</pubDate>
		<guid isPermaLink="false">http://eriwen.com/?p=60#comment-1275</guid>
		<description>[...]  Find is a beautiful toolgrep is a beautiful toolWhat I wanted to know before I left college: A programmer reflectsEarly Adopters: Your Firefox 3 [...]</description>
		<content:encoded><![CDATA[<p>[...]  Find is a beautiful toolgrep is a beautiful toolWhat I wanted to know before I left college: A programmer reflectsEarly Adopters: Your Firefox 3 [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
