Consider the following script:

    vim -u NONE -s <(echo $'gg0VG:call writefile(getpos("\'>"), 
"getpos")\n:qa!')

It will end up having [0, 1, 2147483647, 0] as lines in `getpos' file, 
while expected to have [0, 1, 1, 0]. Tested on vim-7.3.102 (from Gentoo repos) 
and vim-7.3.138 (mercurial rev ea399ac2c1b9). Note that 2147483647 is 
(2**31-1). 
I am on amd64.

Attachment: signature.asc
Description: This is a digitally signed message part.

Raspunde prin e-mail lui