<?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: dos2unix - HP-UX equivalent command in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859450#M868273</link>
    <description>dos2ux/ux2dos would be the command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
    <pubDate>Fri, 03 Sep 2004 05:49:12 GMT</pubDate>
    <dc:creator>Pete Randall</dc:creator>
    <dc:date>2004-09-03T05:49:12Z</dc:date>
    <item>
      <title>dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859448#M868271</link>
      <description>We are trying to discard or convert rogue characters in a script that are causing the script to bomb. The rogue characters originate from the event logs on windows systems and are then processed by the script from the OpenView database.&lt;BR /&gt;&lt;BR /&gt;Is there an equivalent command in HP-UX to the solaris dos2unix comand that could perform the action of stripping these characters?&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Fri, 03 Sep 2004 05:43:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859448#M868271</guid>
      <dc:creator>Steve Evatt</dc:creator>
      <dc:date>2004-09-03T05:43:52Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859449#M868272</link>
      <description>Hi Steve,&lt;BR /&gt;&lt;BR /&gt;try 'dos2ux old_name &amp;gt; new_name'&lt;BR /&gt;&lt;BR /&gt;Volkmar</description>
      <pubDate>Fri, 03 Sep 2004 05:49:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859449#M868272</guid>
      <dc:creator>V. Nyga</dc:creator>
      <dc:date>2004-09-03T05:49:03Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859450#M868273</link>
      <description>dos2ux/ux2dos would be the command.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Pete</description>
      <pubDate>Fri, 03 Sep 2004 05:49:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859450#M868273</guid>
      <dc:creator>Pete Randall</dc:creator>
      <dc:date>2004-09-03T05:49:12Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859451#M868274</link>
      <description>solaris  --dos2unix&lt;BR /&gt;hp--dos2ux</description>
      <pubDate>Fri, 03 Sep 2004 05:49:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859451#M868274</guid>
      <dc:creator>T G Manikandan</dc:creator>
      <dc:date>2004-09-03T05:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859452#M868275</link>
      <description>Thanks guys, we'll give that a go.</description>
      <pubDate>Fri, 03 Sep 2004 05:53:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859452#M868275</guid>
      <dc:creator>Steve Evatt</dc:creator>
      <dc:date>2004-09-03T05:53:12Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859453#M868276</link>
      <description>These aren't rogue characters but the effect in sharing files between completely unrelated operating systems. ^M is a carriage return and in Windows, all plain ASCII files have each line terminated with CR *and* LF, but in Unix, the lines are terminated with just LF. That's why vi shows ^M at the end of the lines...it's a valid character, just unexpected. Most of the time, these problems come up when sharing filesystems. The assumption is that the data will look the same but since neither Windows no Unix implement filesystembased filetypes, there is no special processing that can go on in  the background. (Windows does have a type extension which is just a convenience to launch a specific program to read/write that file but the filesystem code does nothing with the data format).&lt;BR /&gt; &lt;BR /&gt;ftp recognized this issue a *LONG* time ago and implemented an ASCII filter. If you use BINARY to transfer in ftp, you'll get the special codes from Windows. But if you transfer in ASCII, ftp uses a format-neutral method to send the data, relying on the target system to do the right thing for the local opsystem. This is especially helpful with mainframes where there are dozens of filetypes and unit record sizes.</description>
      <pubDate>Fri, 03 Sep 2004 07:57:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859453#M868276</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2004-09-03T07:57:25Z</dc:date>
    </item>
    <item>
      <title>Re: dos2unix - HP-UX equivalent command</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859454#M868277</link>
      <description>Thanks all for your help</description>
      <pubDate>Fri, 03 Sep 2004 08:00:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/dos2unix-hp-ux-equivalent-command/m-p/4859454#M868277</guid>
      <dc:creator>Steve Evatt</dc:creator>
      <dc:date>2004-09-03T08:00:16Z</dc:date>
    </item>
  </channel>
</rss>

