<?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: Replace, Grep</title>
	<atom:link href="http://elliottback.com/wp/replace-grep/feed/" rel="self" type="application/rss+xml" />
	<link>http://elliottback.com/wp/replace-grep/</link>
	<description>Internet &#38; Technology</description>
	<lastBuildDate>Sun, 22 Nov 2009 02:40:56 -0400</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Elliott Bäck</title>
		<link>http://elliottback.com/wp/replace-grep/#comment-1401</link>
		<dc:creator>Elliott Bäck</dc:creator>
		<pubDate>Mon, 09 May 2005 00:08:49 +0000</pubDate>
		<guid isPermaLink="false">/?p=790#comment-1401</guid>
		<description>I used temporary files because for some reason piping this stuff on windows doesn&#039;t work properly (i.e., like unix).  If I were on linux, Xander, you got it ;)</description>
		<content:encoded><![CDATA[<p>I used temporary files because for some reason piping this stuff on windows doesn&#8217;t work properly (i.e., like unix).  If I were on linux, Xander, you got it <img src='http://elliottback.com/wp/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Xander</title>
		<link>http://elliottback.com/wp/replace-grep/#comment-1399</link>
		<dc:creator>Xander</dc:creator>
		<pubDate>Sun, 08 May 2005 21:48:41 +0000</pubDate>
		<guid isPermaLink="false">/?p=790#comment-1399</guid>
		<description>Why not use sed? Perl seems like an overkill. And no need for a temporary file if u pipe it.

sed s/think/think\n/g jean-thinks.txt &#124; grep think &#124; wc -l</description>
		<content:encoded><![CDATA[<p>Why not use sed? Perl seems like an overkill. And no need for a temporary file if u pipe it.</p>
<p>sed s/think/think\n/g jean-thinks.txt | grep think | wc -l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Elliott Bäck</title>
		<link>http://elliottback.com/wp/replace-grep/#comment-1391</link>
		<dc:creator>Elliott Bäck</dc:creator>
		<pubDate>Fri, 06 May 2005 14:35:03 +0000</pubDate>
		<guid isPermaLink="false">/?p=790#comment-1391</guid>
		<description></description>
		<content:encoded><![CDATA[<p>Sorry stran, that doesn&#8217;t work.  That will give you:</p>
<blockquote><p>%grep ‘think&#8217; jean-thinks.txt | wc -l<br />
6</p></blockquote>
<p>See, grep counts lines, and there are only 6 lines with &#8216;think&#8217; in them.  You really need to split think onto seperate lines first, although the slashes got lost in the post&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: stran</title>
		<link>http://elliottback.com/wp/replace-grep/#comment-1388</link>
		<dc:creator>stran</dc:creator>
		<pubDate>Fri, 06 May 2005 13:36:00 +0000</pubDate>
		<guid isPermaLink="false">/?p=790#comment-1388</guid>
		<description>%grep &#039;think&#039; jean-thinks.txt &#124; wc -l 
14

BOOYAH!
:^)</description>
		<content:encoded><![CDATA[<p>%grep &#8216;think&#8217; jean-thinks.txt | wc -l<br />
14</p>
<p>BOOYAH!<br />
:^)</p>
]]></content:encoded>
	</item>
</channel>
</rss>
