<?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: Counting occurences of a words/pattern using grep and wc</title>
	<atom:link href="http://fossist.net/2009/03/counting-occurence-of-a-wordspattern/feed/" rel="self" type="application/rss+xml" />
	<link>http://fossist.net/2009/03/counting-occurence-of-a-wordspattern/</link>
	<description>If you don't have it, how can you lose it!</description>
	<lastBuildDate>Tue, 22 Mar 2011 04:20:26 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: Dexter</title>
		<link>http://fossist.net/2009/03/counting-occurence-of-a-wordspattern/#comment-583</link>
		<dc:creator>Dexter</dc:creator>
		<pubDate>Wed, 02 Mar 2011 03:56:30 +0000</pubDate>
		<guid isPermaLink="false">http://fossist.net/?p=427#comment-583</guid>
		<description>@Ashok:

if you are just looking for small &#039;l&#039; 

grep -o &#039;l&#039;  sample.txt &#124; wc -l    

if you are not bothered about the case sensitivity the use -i with grep:

grep -io &#039;l&#039;  sample.txt &#124; wc -l</description>
		<content:encoded><![CDATA[<p>@Ashok:</p>
<p>if you are just looking for small &#8216;l&#8217; </p>
<p>grep -o &#8216;l&#8217;  sample.txt | wc -l    </p>
<p>if you are not bothered about the case sensitivity the use -i with grep:</p>
<p>grep -io &#8216;l&#8217;  sample.txt | wc -l</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashok</title>
		<link>http://fossist.net/2009/03/counting-occurence-of-a-wordspattern/#comment-581</link>
		<dc:creator>Ashok</dc:creator>
		<pubDate>Tue, 01 Mar 2011 17:41:21 +0000</pubDate>
		<guid isPermaLink="false">http://fossist.net/?p=427#comment-581</guid>
		<description>How can i count number of &#039;l&#039; in sample.txt?  PLZ reply me!!!!!:)</description>
		<content:encoded><![CDATA[<p>How can i count number of &#8216;l&#8217; in sample.txt?  PLZ reply me!!!!!:)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

