<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>phaq &#187; Editors</title>
	<atom:link href="http://phaq.phunsites.net/category/faq/editors/feed/" rel="self" type="application/rss+xml" />
	<link>http://phaq.phunsites.net</link>
	<description>my daily IT madness</description>
	<lastBuildDate>Mon, 30 Jan 2012 10:07:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.3</generator>
		<item>
		<title>Removing CRLF Using Vi</title>
		<link>http://phaq.phunsites.net/2006/07/25/removing-crlf-using-vi/</link>
		<comments>http://phaq.phunsites.net/2006/07/25/removing-crlf-using-vi/#comments</comments>
		<pubDate>Tue, 25 Jul 2006 07:38:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Editors]]></category>

		<guid isPermaLink="false">http://www.phunsites.net/wp/2006/07/25/removing-crlf-using-vi/</guid>
		<description><![CDATA[Sometimes DOS files end up on unix systems without being converted. Files will then have those nasty ^M character at the line ending, which prevents some applications to work properly. The reason for is is DOS to use CRLF (carriage return + line feed) for line endings while unix uses LF (line feed) only. If [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes DOS files end up on unix systems without being converted. Files will then have those nasty ^M character at the line ending, which prevents some applications to work properly.</p>
<p>The reason for is is DOS to use CRLF (carriage return + line feed) for line endings while unix uses LF (line feed) only.</p>
<p>If only few files need to be changed, vi/vim is the tool of choice.</p>
<p>After opening up the file, enter command mode to run this macro:</p>
<p>:%s/^M$//g</p>
<p>To get the  ^M do not actually enter it as is. Insert it by typing the CTRL-V CTRL-M sequence instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://phaq.phunsites.net/2006/07/25/removing-crlf-using-vi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

