Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Ruby > Line Endings?

Thread Tools

Line Endings?

Ezra Zygmuntowicz
Posts: n/a
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
509-577-7732 Removed)

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Read a file line by line and write each line to a file based on the5th byte scad C++ 23 05-17-2009 06:11 PM
How to read a text file line by line and remove some line kaushikshome C++ 4 09-10-2006 10:12 PM
Beginner: read $array with line breaks line by line Marek Stepanek Perl Misc 12 09-02-2006 10:27 AM
Read a file line by line with a maximum number of characters per line Hugo Java 10 10-18-2004 11:42 AM
Use of uninitialized value in concatenation (.) at line 38, <STDIN> line 10. G Kannan Perl 1 10-11-2003 11:58 AM