<?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: How to empty or clear the contents of an existing UNIX file</title>
	<atom:link href="http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 18:18:34 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: MNS</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-15528</link>
		<dc:creator>MNS</dc:creator>
		<pubDate>Fri, 09 Oct 2009 03:55:38 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15528</guid>
		<description>Please follow the step to empty all the files. Here there can be some change of &quot;;&quot;. It can be used or omitted according to the shell.&lt;br&gt;&lt;br&gt;for i in &#039;ls&#039;;&lt;br&gt;do&lt;br&gt;echo &quot;&quot; &gt;$i;&lt;br&gt;done</description>
		<content:encoded><![CDATA[<p>Please follow the step to empty all the files. Here there can be some change of &#8220;;&#8221;. It can be used or omitted according to the shell.</p>
<p>for i in &#39;ls&#39;;<br />do<br />echo &#8220;&#8221; &gt;$i;<br />done</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: aesha</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-14639</link>
		<dc:creator>aesha</dc:creator>
		<pubDate>Sat, 29 Aug 2009 09:09:22 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-14639</guid>
		<description>Thank you .This thing had worked out well for me</description>
		<content:encoded><![CDATA[<p>Thank you .This thing had worked out well for me</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Bruce</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-11647</link>
		<dc:creator>Bruce</dc:creator>
		<pubDate>Thu, 21 May 2009 12:29:20 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-11647</guid>
		<description>Wrong! This inserts a newline. `echo -n &gt;file` is correct. Use `ls -l file` to show the difference.&lt;br&gt;These tips are important, as they do not close the file handle; useful for logs.</description>
		<content:encoded><![CDATA[<p>Wrong! This inserts a newline. `echo -n &gt;file` is correct. Use `ls -l file` to show the difference.<br />These tips are important, as they do not close the file handle; useful for logs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dinesh</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-11418</link>
		<dc:creator>dinesh</dc:creator>
		<pubDate>Fri, 15 May 2009 02:28:33 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-11418</guid>
		<description>very helpful</description>
		<content:encoded><![CDATA[<p>very helpful</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tech Blog</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-10507</link>
		<dc:creator>Tech Blog</dc:creator>
		<pubDate>Fri, 17 Apr 2009 22:41:25 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-10507</guid>
		<description>I use a lot of&lt;br&gt;&lt;br&gt;echo &quot; &quot; &gt; blah.txt&lt;br&gt;&lt;br&gt;But whatever works will do :)</description>
		<content:encoded><![CDATA[<p>I use a lot of</p>
<p>echo &#8221; &#8221; &gt; blah.txt</p>
<p>But whatever works will do :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aleq</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-5356</link>
		<dc:creator>Aleq</dc:creator>
		<pubDate>Thu, 20 Nov 2008 15:03:57 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-5356</guid>
		<description>i was using grep a &gt; bla.txt o_O&lt;br&gt;it does empty the file, but you need to Ctrl+c after...</description>
		<content:encoded><![CDATA[<p>i was using grep a &gt; bla.txt o_O<br />it does empty the file, but you need to Ctrl+c after&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Quinn McHenry</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-4193</link>
		<dc:creator>Quinn McHenry</dc:creator>
		<pubDate>Wed, 15 Oct 2008 18:33:42 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-4193</guid>
		<description>Nice.</description>
		<content:encoded><![CDATA[<p>Nice.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-4191</link>
		<dc:creator>Jacob</dc:creator>
		<pubDate>Wed, 15 Oct 2008 18:30:25 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-4191</guid>
		<description>echo -n &gt; file.txt</description>
		<content:encoded><![CDATA[<p>echo -n &gt; file.txt</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesus E. Aneiros</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-3981</link>
		<dc:creator>Jesus E. Aneiros</dc:creator>
		<pubDate>Wed, 08 Oct 2008 11:28:41 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-3981</guid>
		<description>cp /dev/null blah.txt&lt;br&gt; &lt;br&gt;It will save you a t and a &gt;.</description>
		<content:encoded><![CDATA[<p>cp /dev/null blah.txt</p>
<p>It will save you a t and a &gt;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: MACMac</title>
		<link>http://www.tech-recipes.com/rx/2993/how_to_empty_or_clear_the_contents_of_an_existing_unix_file/comment-page-1/#comment-3802</link>
		<dc:creator>MACMac</dc:creator>
		<pubDate>Thu, 02 Oct 2008 19:14:11 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-3802</guid>
		<description>You are correct about the &lt;strong&gt;touch&lt;/strong&gt; command not zeroing out an existing file which was the point of the recipe.</description>
		<content:encoded><![CDATA[<p>You are correct about the <strong>touch</strong> command not zeroing out an existing file which was the point of the recipe.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
