<?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: Linux Contest with a $25 Amazon Gift Card Giveaway &#8211; Week 4</title>
	<atom:link href="http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/</link>
	<description>Linux Tips, Tricks, and Opinions</description>
	<lastBuildDate>Wed, 27 Jun 2012 07:49:22 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
	<item>
		<title>By: Jeronimo Martinez</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-16487</link>
		<dc:creator>Jeronimo Martinez</dc:creator>
		<pubDate>Tue, 20 May 2008 19:30:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-16487</guid>
		<description>using grep find all lines starting with caracthers &quot;\&lt;w&quot;  and redirect the results to example_file2.
 
grep &#039;\ example_file2</description>
		<content:encoded><![CDATA[<p>using grep find all lines starting with caracthers &#8220;\&lt;w&#8221;  and redirect the results to example_file2.</p>
<p>grep &#8216;\ example_file2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Olivers</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15650</link>
		<dc:creator>Olivers</dc:creator>
		<pubDate>Thu, 15 May 2008 19:37:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15650</guid>
		<description>Hi the answer is: 

sed &#039;/^$/d&#039; example_file1 &gt; example_file2</description>
		<content:encoded><![CDATA[<p>Hi the answer is: </p>
<p>sed &#8216;/^$/d&#8217; example_file1 &gt; example_file2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: trajan</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15642</link>
		<dc:creator>trajan</dc:creator>
		<pubDate>Thu, 15 May 2008 17:39:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15642</guid>
		<description>this should do it:

sed &#039;/^$/d&#039; file1 &gt; file2</description>
		<content:encoded><![CDATA[<p>this should do it:</p>
<p>sed &#8216;/^$/d&#8217; file1 &gt; file2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: apokalyptik</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15636</link>
		<dc:creator>apokalyptik</dc:creator>
		<pubDate>Thu, 15 May 2008 15:47:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15636</guid>
		<description>grep -Ev &#039;^$&#039; example_file1 &gt; example_file2</description>
		<content:encoded><![CDATA[<p>grep -Ev &#8216;^$&#8217; example_file1 &gt; example_file2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anirudh</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15604</link>
		<dc:creator>Anirudh</dc:creator>
		<pubDate>Thu, 15 May 2008 06:31:33 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15604</guid>
		<description>Apart from an awk script to do the same, i prefer writing one line of bash to do the trick.

input: example_file_1
output: example_file_2
&lt;code&gt;

cat example_file_1&#124;while read line;do if [ &quot;$line&quot; != &quot;&quot; ]; then echo &quot;$line&quot;; fi; done&gt;example_file_w

&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Apart from an awk script to do the same, i prefer writing one line of bash to do the trick.</p>
<p>input: example_file_1<br />
output: example_file_2<br />
<code></p>
<p>cat example_file_1|while read line;do if [ "$line" != "" ]; then echo "$line"; fi; done&gt;example_file_w</p>
<p></code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: livibetter</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15595</link>
		<dc:creator>livibetter</dc:creator>
		<pubDate>Thu, 15 May 2008 04:52:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15595</guid>
		<description>sed &quot;/^$/d&quot; example_file1 &gt; example_file2</description>
		<content:encoded><![CDATA[<p>sed &#8220;/^$/d&#8221; example_file1 &gt; example_file2</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: jmw1836</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-15567</link>
		<dc:creator>jmw1836</dc:creator>
		<pubDate>Thu, 15 May 2008 00:37:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-15567</guid>
		<description>sed &#039;/^$/d&#039; FILENAME</description>
		<content:encoded><![CDATA[<p>sed &#8216;/^$/d&#8217; FILENAME</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben P</title>
		<link>http://www.foogazi.com/2008/05/14/linux-contest-with-a-25-amazon-gift-card-giveaway-week-4/comment-page-1/#comment-16711</link>
		<dc:creator>Ben P</dc:creator>
		<pubDate>Wed, 14 May 2008 22:07:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.foogazi.com/?p=223#comment-16711</guid>
		<description>sed -e &#039;/^$/d&#039; example_file1 &gt; example_file2</description>
		<content:encoded><![CDATA[<p>sed -e &#8216;/^$/d&#8217; example_file1 &gt; example_file2</p>
]]></content:encoded>
	</item>
</channel>
</rss>
