On 23/01/11 2:13 AM, Marc Weber wrote:
I know about binary, endoffile and ff=dos setting.Still I get this result: 61 62 63 0A 61 6F 6E 74 65 68 75 ^^ no end of file eol. That's ok ^^ this is \n where is the \r ? Is this a bug?
No. Read the documentation for 'binary'. In fact, it's important the 'binary' forces 'unix' to ensure files aren't changed if read and written with binary mode. If reading and writing files binary with ff=dos, it would be lossy, as Vim discards the EOL on reading and it wouldn't then know whether to write \r\n or \n for each EOL in the file. Ben. -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
