Thread: dos2unix

    #1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    30
    Rep Power
    7

    dos2unix


    how would I add this application to bsd release 7.0 from a CD? for one thing it strips carriage returns from files created in a dos environment. Don't know where to find it. Does anyone know anything about it?
  2. #2
  3. Not An Expert
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2015
    Posts
    404
    Rep Power
    5
    By "this application" you mean dos2unix, right?
  4. #3
  5. Headless Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,972
    Rep Power
    9647
    It doesn't look like FreeBSD has dos2unix built-in. Grab the unix2dos package (which includes dos2unix) from freshports.org.
  6. #4
  7. Contributing User
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2006
    Posts
    2,688
    Rep Power
    1842
    Purely out of idle curiosity is this 'large file aware'? Many moons ago I wrote a little; scripted system that had to use the HP-UX version (dos2ux) of this and it worked nicely for years (until I left), and a few years later (yes, it was - maybe is! - still being used) a problem was encountered when a source file crept over the 2GB limit of 32-bitted-ness.
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  8. #5
  9. Headless Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2007
    Location
    Washington, USA
    Posts
    16,972
    Rep Power
    9647
    No idea. If dos2unix is susceptible to 32-bit problems (it could easily not be) then it would depend on whether the port was written (and compiled) for 64-bit.
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2013
    Posts
    30
    Rep Power
    7

    dos2unix


    Originally Posted by markroberts
    By "this application" you mean dos2unix, right?
    yes

IMN logo majestic logo threadwatch logo seochat tools logo