Monday, October 6, 2014

readfile() and writefile() in practice

As far as I can tell, readfile() and writefile() have something against new lines. If I read a file and then immediately write that (a List) to another file, I get all of the first file's contents in a single line of the new file.

Is this just something I'm doing wrong? As it is, I apparently can't preserve new lines in a file when using these functions.

Ben

--
b

Sent from my iPhone

--
--
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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: