On Fri, Nov 11, 2011 at 23:30, Jean-Rene David <[email protected]> wrote:
> * Jacobo de Vera [2011.11.11 17:50]:
>> So my question is, is there a way to keep those
>> new line characters in the output file?
>
> Split each string which contains a newline in two
> list items.
>
Haha, brilliant, everything I thought of doing was more complex than
this. Thanks.
I, however, still wonder what the rationale behind such behaviour of
writefile might be. and about that second sentence I quoted from the
docs:
> Inserting CR characters needs to be done before passing {list}
> to writefile().
Does it actually mean to split and insert each part in the list? Not
clear at all, or is it?
Regards,
--
Jacobo de Vera
--
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