Download and Install dos2unix version 3.1 on Mac OS X
Friday the 25th of July, 2008

    dos2unix  most recent diff


      View the most recent changes for the dos2unix port at: dos2unix.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for dos2unix.
      The raw portfile for dos2unix 3.1 is located here:
      http://dos2unix.darwinports.com/dports/textproc/dos2unix/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/dos2unix
      Google
      Web Darwinports.com



      # $Id: Portfile 32478 2008-01-04 08:32:45Z afb macports.org $

      PortSystem 1.0

      Name: dos2unix
      Version: 3.1
      Category: textproc
      Platform: darwin
      Maintainers: waqar macports.org
      Description: Convert text between dos, unix, and mac formats
      Long Description: ${description}
      master_sites http://fresh.t-systems-sfr.com/linux/src/
      Homepage: ${master_sites}
      checksums md5 25ff56bab202de63ea6f6c211c416e96
      use_configure no
      build {
      system "cd ${worksrcpath}; gcc -O dos2unix.c -o dos2unix" }

      destroot {
      system "install -m 755 -cs ${worksrcpath}/dos2unix ${destroot}${prefix}/bin"
      system "gzip -c ${worksrcpath}/dos2unix.1 > ${destroot}${prefix}/share/man/man1/dos2unix.1.gz"
      system "ln -sf dos2unix.1.gz ${destroot}${prefix}/share/man/man1/mac2unix.1.gz"
      system "ln -sf dos2unix ${destroot}${prefix}/bin/mac2unix" }

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/dos2unix
      % sudo port install dos2unix
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching dos2unix
      ---> Verifying checksum for dos2unix
      ---> Extracting dos2unix
      ---> Configuring dos2unix
      ---> Building dos2unix with target all
      ---> Staging dos2unix into destroot
      ---> Installing dos2unix
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using dos2unix with these commands:
      %  man dos2unix
      % apropos dos2unix
      % which dos2unix
      % locate dos2unix

     Where to find more information:

    Darwin Ports



    image test