<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Remove ^M Character in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938735#M102622</link>
    <description>GETTING RID OF ^M&lt;BR /&gt;&lt;BR /&gt;To get rid of ^M&lt;BR /&gt;in text files .&lt;BR /&gt;&lt;BR /&gt;tr -d '^M' &lt;INPUTFILE&gt;outputfile&lt;BR /&gt;&lt;BR /&gt;But to get this&lt;BR /&gt;'^M' in the command&lt;BR /&gt;line:&lt;BR /&gt;&lt;BR /&gt;Keep CTRL pressed&lt;BR /&gt;and then press v and m&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Prabu.S&lt;BR /&gt;&lt;/INPUTFILE&gt;</description>
    <pubDate>Mon, 07 Nov 2005 00:17:52 GMT</pubDate>
    <dc:creator>Senthil Prabu.S_1</dc:creator>
    <dc:date>2005-11-07T00:17:52Z</dc:date>
    <item>
      <title>Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938729#M102616</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;How to remove ^M Character from a file.</description>
      <pubDate>Sun, 06 Nov 2005 23:34:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938729#M102616</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-06T23:34:16Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938730#M102617</link>
      <description>&lt;A href="http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1314594&amp;amp;listType=unassigned&amp;amp;forumId=1" target="_blank"&gt;http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA1314594&amp;amp;listType=unassigned&amp;amp;forumId=1&lt;/A&gt;&lt;BR /&gt;:-)</description>
      <pubDate>Sun, 06 Nov 2005 23:36:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938730#M102617</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-11-06T23:36:58Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938731#M102618</link>
      <description># sed 's(ctrl v ctrl m)g//g' old.file &amp;gt; new.file&lt;BR /&gt;&lt;BR /&gt;In vi do the following:&lt;BR /&gt;&lt;BR /&gt;:g/^M/s///&lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Sun, 06 Nov 2005 23:40:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938731#M102618</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2005-11-06T23:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938732#M102619</link>
      <description>also:&lt;BR /&gt; dos2ux file1 file2 &amp;gt; file1</description>
      <pubDate>Sun, 06 Nov 2005 23:43:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938732#M102619</guid>
      <dc:creator>Yogeeraj_1</dc:creator>
      <dc:date>2005-11-06T23:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938733#M102620</link>
      <description>in vi,&lt;BR /&gt;&lt;BR /&gt;:%s/\^M//g&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Syam</description>
      <pubDate>Sun, 06 Nov 2005 23:48:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938733#M102620</guid>
      <dc:creator>Ranjith_5</dc:creator>
      <dc:date>2005-11-06T23:48:25Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938734#M102621</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;There are 3 solutions (possibly more)&lt;BR /&gt;&lt;BR /&gt;1. within vi, type the following:&lt;BR /&gt;&lt;BR /&gt;:1,$s/^V^M//&lt;BR /&gt;&lt;BR /&gt;Note that the key sequence is CTRL+V and CTRL+M, only the "^M"&lt;BR /&gt;will appear on screen.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;2. Use the tr command:&lt;BR /&gt;&lt;BR /&gt;tr -d \\015 &amp;lt; filename &amp;gt; newfilename&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;3. Use the dos2ux utility:&lt;BR /&gt;&lt;BR /&gt;dos2ux filename &amp;gt; newfilename&lt;BR /&gt;&lt;BR /&gt;Hope this information can help you.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;AW</description>
      <pubDate>Mon, 07 Nov 2005 00:09:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938734#M102621</guid>
      <dc:creator>Adisuria Wangsadinata_1</dc:creator>
      <dc:date>2005-11-07T00:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938735#M102622</link>
      <description>GETTING RID OF ^M&lt;BR /&gt;&lt;BR /&gt;To get rid of ^M&lt;BR /&gt;in text files .&lt;BR /&gt;&lt;BR /&gt;tr -d '^M' &lt;INPUTFILE&gt;outputfile&lt;BR /&gt;&lt;BR /&gt;But to get this&lt;BR /&gt;'^M' in the command&lt;BR /&gt;line:&lt;BR /&gt;&lt;BR /&gt;Keep CTRL pressed&lt;BR /&gt;and then press v and m&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Prabu.S&lt;BR /&gt;&lt;/INPUTFILE&gt;</description>
      <pubDate>Mon, 07 Nov 2005 00:17:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938735#M102622</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-11-07T00:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938736#M102623</link>
      <description>Also, one can use "string" utility that comes with unix.&lt;BR /&gt;&lt;BR /&gt;STRING STRIPPING&lt;BR /&gt;&lt;BR /&gt;Remove all ^M and other control&lt;BR /&gt;characters from file ABC&lt;BR /&gt;&lt;BR /&gt;strings ABC &amp;gt; ABC-good&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Prabu.S</description>
      <pubDate>Mon, 07 Nov 2005 00:19:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938736#M102623</guid>
      <dc:creator>Senthil Prabu.S_1</dc:creator>
      <dc:date>2005-11-07T00:19:13Z</dc:date>
    </item>
    <item>
      <title>Re: Remove ^M Character</title>
      <link>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938737#M102624</link>
      <description>Thanks to all for given  a solution</description>
      <pubDate>Mon, 07 Nov 2005 02:03:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/remove-m-character/m-p/4938737#M102624</guid>
      <dc:creator>Karthick K S</dc:creator>
      <dc:date>2005-11-07T02:03:44Z</dc:date>
    </item>
  </channel>
</rss>

