sebastien/cuisine — Issue #22: text_detect_eol mistakenly detects WINDOWS_EOL on UNIX_EOL files?
Author: eykd
Created: 2011-10-16 20:20:43+00:00
State: open

In using `file_update` in concert with `text_ensure_lines`, I find that my remote files are being converted from unix-style `\n` to windows-style `\r\n`. I see nothing obviously wrong with the code of any of the involved functions, and yet this is the behavior I'm consistently observing (using emacs to detect the EOL-style).

Of course, you can imagine the havoc this creates when encountered by BASH (and its rather fragile grasp on the reality). :)

This one frankly makes absolutely no sense to me. I hope it makes sense to you.