Line Endings?

Discussion in 'Ruby' started by Ezra Zygmuntowicz, Nov 7, 2005.

  1. Hey there folks-

    Does anyone have a reliable pure ruby way to change the line
    endings of a file from Classic MacOS9 to normal unix line endings?
    Should I just run a regex on it or is there a better way?


    Thanks for any help-

    -Ezra Zygmuntowicz
    Yakima Herald-Republic
    WebMaster
    http://yakimaherald.com
    509-577-7732
    Ezra Zygmuntowicz, Nov 7, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Fuzzyman
    Replies:
    4
    Views:
    549
    Fuzzyman
    Feb 7, 2006
  2. Fuzzyman

    Detecting line endings

    Fuzzyman, Feb 6, 2006, in forum: Python
    Replies:
    18
    Views:
    577
    Fuzzyman
    Feb 8, 2006
  3. Ant
    Replies:
    6
    Views:
    373
    Fredrik Lundh
    Dec 5, 2006
  4. Replies:
    5
    Views:
    381
    Marc 'BlackJack' Rintsch
    May 3, 2007
  5. towers
    Replies:
    7
    Views:
    291
    =?ISO-8859-1?Q?Ricardo_Ar=E1oz?=
    Aug 17, 2007
Loading...

Share This Page