<?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: dos2ux equivalent on linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022980#M75853</link>
    <description>[balaji@fire balaji]$ rpm -qi dos2unix&lt;BR /&gt;Name        : dos2unix                     Relocations: (not relocateable)&lt;BR /&gt;Version     : 3.1                               Vendor: Red Hat, Inc.&lt;BR /&gt;Release     : 7                             Build Date: Mon 25 Jun 2001 08:00:39&lt;BR /&gt; AM IST&lt;BR /&gt;Install date: Mon 04 Mar 2002 03:53:02 PM IST      Build Host: porky.devel.redha&lt;BR /&gt;t.com&lt;BR /&gt;Group       : Applications/Text             Source RPM: dos2unix-3.1-7.src.rpm&lt;BR /&gt;Size        : 19179                            License: Freely distributable&lt;BR /&gt;Packager    : Red Hat, Inc. &amp;lt;&amp;gt;&lt;BR /&gt;Summary     : Text file format converter&lt;BR /&gt;Description :&lt;BR /&gt;Dos2unix converts DOS or MAC text files to UNIX format.&lt;BR /&gt;[balaji@fire balaji]$ which dos2unix&lt;BR /&gt;/usr/bin/dos2unix&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
    <pubDate>Mon, 14 Jul 2003 14:24:18 GMT</pubDate>
    <dc:creator>Balaji N</dc:creator>
    <dc:date>2003-07-14T14:24:18Z</dc:date>
    <item>
      <title>dos2ux equivalent on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022979#M75852</link>
      <description>Is there an equivalent command on linux for the dos2ux hpux command?</description>
      <pubDate>Mon, 14 Jul 2003 14:21:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022979#M75852</guid>
      <dc:creator>Jamal Asi</dc:creator>
      <dc:date>2003-07-14T14:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux equivalent on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022980#M75853</link>
      <description>[balaji@fire balaji]$ rpm -qi dos2unix&lt;BR /&gt;Name        : dos2unix                     Relocations: (not relocateable)&lt;BR /&gt;Version     : 3.1                               Vendor: Red Hat, Inc.&lt;BR /&gt;Release     : 7                             Build Date: Mon 25 Jun 2001 08:00:39&lt;BR /&gt; AM IST&lt;BR /&gt;Install date: Mon 04 Mar 2002 03:53:02 PM IST      Build Host: porky.devel.redha&lt;BR /&gt;t.com&lt;BR /&gt;Group       : Applications/Text             Source RPM: dos2unix-3.1-7.src.rpm&lt;BR /&gt;Size        : 19179                            License: Freely distributable&lt;BR /&gt;Packager    : Red Hat, Inc. &amp;lt;&amp;gt;&lt;BR /&gt;Summary     : Text file format converter&lt;BR /&gt;Description :&lt;BR /&gt;Dos2unix converts DOS or MAC text files to UNIX format.&lt;BR /&gt;[balaji@fire balaji]$ which dos2unix&lt;BR /&gt;/usr/bin/dos2unix&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 14 Jul 2003 14:24:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022980#M75853</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-14T14:24:18Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux equivalent on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022981#M75854</link>
      <description>and a few more tips to accomplish this form LOST (&lt;A href="http://lost.sourceforge.net)" target="_blank"&gt;http://lost.sourceforge.net)&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;:&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;&lt;BR /&gt;Sub : DOS to Unix conversion (#1)                    LOST #025&lt;BR /&gt;&lt;BR /&gt;Method #1: To convert a DOS text file to Unix so that extra &lt;BR /&gt;ASCII 13 does not show up when viewing / editing a DOS text &lt;BR /&gt;file : $cat filename.dos | tr -d '\015' &amp;gt; filename.unix&lt;BR /&gt;&lt;BR /&gt;####[bish (at) nde.vsnl.net.in]###############################&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;&lt;BR /&gt;Sub : DOS to Unix conversion (#2)                    LOST #049&lt;BR /&gt;&lt;BR /&gt;Method #2: using recode (if installed)&lt;BR /&gt;To convert a DOS text file to Unix so that the extra ASCII 13&lt;BR /&gt;does not show up, you can add the  following  in /etc/profile&lt;BR /&gt;or .profile (IF recode package is installed ...) &lt;BR /&gt;          &lt;BR /&gt;alias unix2dos='recode lat1..ibmpc'&lt;BR /&gt;alias dos2unix='recode ibmpc..lat1'&lt;BR /&gt;              &lt;BR /&gt;####[bish (at) nde.vsnl.net.in]###############################&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;&lt;BR /&gt;Sub : DOS to Unix conversion (#3)                    LOST #137&lt;BR /&gt;&lt;BR /&gt;DOS text files with ^M can be cleared by pico editor. Load the&lt;BR /&gt;dos text file in pico, Do a small edit job on it.  (e.g. place&lt;BR /&gt;a space and delete it again) .. Save .. Quit. All ^Ms gone !!&lt;BR /&gt;&lt;BR /&gt;####[bish (at) nde.vsnl.net.in]###############################&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;  &lt;BR /&gt;Sub : DOS to Unix conversion (#4)                    LOST #194&lt;BR /&gt;&lt;BR /&gt;Need to remove all those ^M characters from a DOS file? Try :&lt;BR /&gt;$col -bx &amp;lt; dosfile &amp;gt; newfile&lt;BR /&gt; &lt;BR /&gt;####[genesis (at) istar.ca]###################################&lt;BR /&gt;&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;&lt;BR /&gt;Sub : DOS to Unix conversion (#5)                    LOST #217&lt;BR /&gt;&lt;BR /&gt;In vim editor, it is just a matter of setting file-format (ff)&lt;BR /&gt;The steps are :&lt;BR /&gt;a) vim dosfile.txt    b) :set ff=unix c) :wq&lt;BR /&gt;&lt;BR /&gt;####[binand (at) cysphere.com]################################&lt;BR /&gt;:&lt;BR /&gt;:&lt;BR /&gt;####[ GNU/Linux One Stanza Tip (LOST) ]#######################&lt;BR /&gt;&lt;BR /&gt;Sub : DOS to Unix conversion (#6)                    LOST #218&lt;BR /&gt;&lt;BR /&gt;If you have vim editor installed, the following script will do&lt;BR /&gt;a DOS to Unix conversion:&lt;BR /&gt;#!/bin/sh                           # Save d2u, chmod +x d2u&lt;BR /&gt;vim -c ":set ff=unix" -c ":wq" $1   # Usage: d2u filename.txt&lt;BR /&gt;&lt;BR /&gt;####[binand (at) cysphere.com]################################&lt;BR /&gt;&lt;BR /&gt;-balaji</description>
      <pubDate>Mon, 14 Jul 2003 14:28:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022981#M75854</guid>
      <dc:creator>Balaji N</dc:creator>
      <dc:date>2003-07-14T14:28:25Z</dc:date>
    </item>
    <item>
      <title>Re: dos2ux equivalent on linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022982#M75855</link>
      <description>Hello!&lt;BR /&gt;&lt;BR /&gt;You have on linux dos2unix so download&lt;BR /&gt;&lt;A href="ftp://rpmfind.net/linux/contrib/libc6/i386/dos2unix-3.1-3.i386.rpm" target="_blank"&gt;ftp://rpmfind.net/linux/contrib/libc6/i386/dos2unix-3.1-3.i386.rpm&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Caesar</description>
      <pubDate>Mon, 14 Jul 2003 18:32:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/dos2ux-equivalent-on-linux/m-p/3022982#M75855</guid>
      <dc:creator>Caesar_3</dc:creator>
      <dc:date>2003-07-14T18:32:32Z</dc:date>
    </item>
  </channel>
</rss>

