<?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 dos2ux using sed in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262650#M888461</link>
    <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I want to use dos2ux functionality on both HP-UX and Solaris. Since I didn't find dos2ux on Solaris I thought of this:&lt;BR /&gt;&lt;BR /&gt;sed s/$/\`/ &amp;lt; oldwinfile | tr '`' '\015' &amp;gt; newwinfile&lt;BR /&gt;&lt;BR /&gt;A colleague expressed concern that oldwinfile might contain a backtick (`) character, then this would not work.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;The first three useful responses will be rewarded with points!&lt;BR /&gt;&lt;BR /&gt;Remember that the solution must work on BOTH HP-UX and Solaris.&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
    <pubDate>Thu, 29 Apr 2004 06:17:14 GMT</pubDate>
    <dc:creator>Christian Deutsch_1</dc:creator>
    <dc:date>2004-04-29T06:17:14Z</dc:date>
    <item>
      <title>dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262650#M888461</link>
      <description>Hi there,&lt;BR /&gt;&lt;BR /&gt;I want to use dos2ux functionality on both HP-UX and Solaris. Since I didn't find dos2ux on Solaris I thought of this:&lt;BR /&gt;&lt;BR /&gt;sed s/$/\`/ &amp;lt; oldwinfile | tr '`' '\015' &amp;gt; newwinfile&lt;BR /&gt;&lt;BR /&gt;A colleague expressed concern that oldwinfile might contain a backtick (`) character, then this would not work.&lt;BR /&gt;&lt;BR /&gt;Any ideas?&lt;BR /&gt;&lt;BR /&gt;The first three useful responses will be rewarded with points!&lt;BR /&gt;&lt;BR /&gt;Remember that the solution must work on BOTH HP-UX and Solaris.&lt;BR /&gt;&lt;BR /&gt;Thanks, Christian</description>
      <pubDate>Thu, 29 Apr 2004 06:17:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262650#M888461</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2004-04-29T06:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262651#M888462</link>
      <description>Hi Cristian,&lt;BR /&gt;&lt;BR /&gt;Try dos2unix on solaris (solaris 8 on my workstations has got it)&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Robert-Jan</description>
      <pubDate>Thu, 29 Apr 2004 06:52:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262651#M888462</guid>
      <dc:creator>Robert-Jan Goossens</dc:creator>
      <dc:date>2004-04-29T06:52:53Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262652#M888463</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;On Solaris 5.8 :&lt;BR /&gt;# type dos2unix&lt;BR /&gt;dos2unix is a tracked alias for /bin/dos2unix&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;BR /&gt;&lt;BR /&gt;Nicolas&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 07:08:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262652#M888463</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-29T07:08:10Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262653#M888464</link>
      <description>If you don't find it, there's a lot a C source on the web, like this one :&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.grubinski.com/grubinski/dos2unix.c" target="_blank"&gt;http://www.grubinski.com/grubinski/dos2unix.c&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;If you just want to get rid of the line feed :&lt;BR /&gt;sed -e 's/^M//g' filename&lt;BR /&gt;(^M is done with CTRL+M)&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 07:12:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262653#M888464</guid>
      <dc:creator>Nicolas Dumeige</dc:creator>
      <dc:date>2004-04-29T07:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262654#M888465</link>
      <description>I'm done.&lt;BR /&gt;&lt;BR /&gt;Thanks folks.&lt;BR /&gt;&lt;BR /&gt;Sorry I type the title wrong, should have been ux2dos, not dos2ux.&lt;BR /&gt;&lt;BR /&gt;I won't promise any points for further replies (sorry).</description>
      <pubDate>Thu, 29 Apr 2004 07:18:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262654#M888465</guid>
      <dc:creator>Christian Deutsch_1</dc:creator>
      <dc:date>2004-04-29T07:18:30Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux using sed</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262655#M888466</link>
      <description>On HP it is ux2dos: &lt;BR /&gt;&lt;BR /&gt;#ux2dos file1 &amp;gt; file2&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Apr 2004 07:36:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2ux-using-sed/m-p/3262655#M888466</guid>
      <dc:creator>Bharat Katkar</dc:creator>
      <dc:date>2004-04-29T07:36:29Z</dc:date>
    </item>
  </channel>
</rss>

