Dos2unix version 3.1 - How to Download and Install on Mac OS X
Sunday the 21st of March, 2010

    dos2unix  most recent diff


    version 3.1

      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


      The dos2unix Portfile 50980 2009-05-14 19:41:55Z and.damore macports.org $

      PortSystem 1.0

      Name: dos2unix
      Version: 3.1
      Revision: 1
      Category: textproc
      Platform: darwin
      Maintainers: waqar
      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} && ${configure.cc} ${configure.cflags} dos2unix.c -o dos2unix" }

      destroot {
      system "install -m 755 -cs ${worksrcpath}/dos2unix ${destroot}${prefix}/bin"
      system "install -m 644 ${worksrcpath}/dos2unix.1 ${destroot}${prefix}/share/man/man1"
      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



    Lightbox this page.