Tuesday, September 11, 2012

Re: Create a 1,000,000 byte file with VIM.

On Tue, Sep 11, 2012 at 2:50 PM, Erik Christiansen
<dvalin@internode.on.net> wrote:
> On 11.09.12 14:34, Dotan Cohen wrote:
>> I had to have only 999999 characters to get a 1000000 file, in other
>> words there is an extra byte in there somewhere.
>
> If ff is "unix", then a '\n' is appended to the line. (It's what I had
> expected, and "od -c" shows that that is what vim does.)
>

Thanks, Erik, the use of od is rather useful!


--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

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

No comments: