<?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: Remove ^M characters at end of lines in vi</title>
	<atom:link href="http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/</link>
	<description>Computer and technology tutorials and guides</description>
	<lastBuildDate>Sat, 21 Nov 2009 22:16:28 -0800</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: mhannesy</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-16484</link>
		<dc:creator>mhannesy</dc:creator>
		<pubDate>Sat, 21 Nov 2009 15:04:54 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16484</guid>
		<description>Ok, I found out why I ended up with the NUL control characters instead. From :help insert:&lt;br&gt;&lt;br&gt;&quot;If you enter a value of 10, it will end up in the file as a 0.  The 10 is a&lt;br&gt;&lt;NL&gt;, which is used internally to represent the &lt;Nul&gt; character.  When writing&lt;br&gt;the buffer to a file, the &lt;NL&gt; character is translated into &lt;Nul&gt;.  The &lt;NL&gt;&lt;br&gt;character is written at the end of each line.  Thus if you want to insert a&lt;br&gt;&lt;NL&gt; character in a file you will have to make a line break.&quot;</description>
		<content:encoded><![CDATA[<p>Ok, I found out why I ended up with the NUL control characters instead. From :help insert:</p>
<p>&#8220;If you enter a value of 10, it will end up in the file as a 0.  The 10 is a<br />&lt;NL&gt;, which is used internally to represent the &lt;Nul&gt; character.  When writing<br />the buffer to a file, the &lt;NL&gt; character is translated into &lt;Nul&gt;.  The &lt;NL&gt;<br />character is written at the end of each line.  Thus if you want to insert a<br />&lt;NL&gt; character in a file you will have to make a line break.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hedi</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-16251</link>
		<dc:creator>Hedi</dc:creator>
		<pubDate>Wed, 11 Nov 2009 15:24:45 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-16251</guid>
		<description>You could try :&lt;br&gt;echo file &#124; sed &#039;s/r//g&#039;</description>
		<content:encoded><![CDATA[<p>You could try :<br />echo file | sed &#39;s/r//g&#39;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-15952</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 29 Oct 2009 03:24:27 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15952</guid>
		<description>You Sir are a genius.  I award you five internets!</description>
		<content:encoded><![CDATA[<p>You Sir are a genius.  I award you five internets!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mhannesy</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-15768</link>
		<dc:creator>mhannesy</dc:creator>
		<pubDate>Wed, 21 Oct 2009 18:06:06 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15768</guid>
		<description>Just curious, :%s/r//g works but :%s/rn/n/g does not, why is that?</description>
		<content:encoded><![CDATA[<p>Just curious, :%s/r//g works but :%s/rn/n/g does not, why is that?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ucsbliu</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-15366</link>
		<dc:creator>ucsbliu</dc:creator>
		<pubDate>Thu, 01 Oct 2009 18:24:19 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15366</guid>
		<description>Thank you, original post did not work for me, but this did.</description>
		<content:encoded><![CDATA[<p>Thank you, original post did not work for me, but this did.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dmitriy Golub</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-15356</link>
		<dc:creator>Dmitriy Golub</dc:creator>
		<pubDate>Thu, 01 Oct 2009 11:36:17 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-15356</guid>
		<description>Nice, thank you!</description>
		<content:encoded><![CDATA[<p>Nice, thank you!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: awais</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-14714</link>
		<dc:creator>awais</dc:creator>
		<pubDate>Tue, 01 Sep 2009 09:25:54 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-14714</guid>
		<description>hi,&lt;br&gt;     grt man. it worked for me. keep up the good work.&lt;br&gt;&lt;br&gt;br</description>
		<content:encoded><![CDATA[<p>hi,<br />     grt man. it worked for me. keep up the good work.</p>
<p>br</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: SnowLeopard</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-14652</link>
		<dc:creator>SnowLeopard</dc:creator>
		<pubDate>Sat, 29 Aug 2009 23:19:42 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-14652</guid>
		<description>Thanks! :D</description>
		<content:encoded><![CDATA[<p>Thanks! :D</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: raod</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-13736</link>
		<dc:creator>raod</dc:creator>
		<pubDate>Thu, 23 Jul 2009 00:51:11 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-13736</guid>
		<description>Thank you very much...for me saved lot of time.</description>
		<content:encoded><![CDATA[<p>Thank you very much&#8230;for me saved lot of time.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Vishal</title>
		<link>http://www.tech-recipes.com/rx/150/remove-m-characters-at-end-of-lines-in-vi/comment-page-1/#comment-13249</link>
		<dc:creator>Vishal</dc:creator>
		<pubDate>Tue, 07 Jul 2009 05:12:48 +0000</pubDate>
		<guid isPermaLink="false">guid-fix-me!#comment-13249</guid>
		<description>I am trying ti get the diff of a file into a temp.txt file.&lt;br&gt;When I do :%s/^M//g in my file, it says &quot;Pattern not Found: ^M&quot;.&lt;br&gt;But when I see the temp.txt file for the diff it shows ^M on all the lines.&lt;br&gt;Help me out for this, I dont want ^M in temp.txt file</description>
		<content:encoded><![CDATA[<p>I am trying ti get the diff of a file into a temp.txt file.<br />When I do :%s/^M//g in my file, it says &#8220;Pattern not Found: ^M&#8221;.<br />But when I see the temp.txt file for the diff it shows ^M on all the lines.<br />Help me out for this, I dont want ^M in temp.txt file</p>
]]></content:encoded>
	</item>
</channel>
</rss>
