<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Unix2dos</id>
	<title>Unix2dos - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.marcelpost.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Unix2dos"/>
	<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Unix2dos&amp;action=history"/>
	<updated>2026-05-17T04:57:03Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.17</generator>
	<entry>
		<id>https://www.marcelpost.com/wiki/index.php?title=Unix2dos&amp;diff=1122&amp;oldid=prev</id>
		<title>Admin at 01:59, 20 January 2013</title>
		<link rel="alternate" type="text/html" href="https://www.marcelpost.com/wiki/index.php?title=Unix2dos&amp;diff=1122&amp;oldid=prev"/>
		<updated>2013-01-20T01:59:20Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A simple but effective script that inserts the /r (Carriage Return) character for DOS-based text files so that you don&amp;#039;t have long, continous lines when viewing under windows.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
#!/bin/sh&lt;br /&gt;
&lt;br /&gt;
echo &amp;quot;unix2dos&amp;quot;&lt;br /&gt;
for file in &amp;quot;$@&amp;quot;&lt;br /&gt;
do  &lt;br /&gt;
  awk &amp;#039;sub(&amp;quot;$&amp;quot;, &amp;quot;\r&amp;quot;)&amp;#039; $file &amp;gt; $file.dos&lt;br /&gt;
done&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
	</entry>
</feed>