Consider the following script:

    mkdir a
    ln -s a b
    vim -u NONE -c 'call writefile([resolve("./b"),resolve("./b/")], "t.out")' \
                -c 'qa!'

Expected output: two lines containing «./a» and «./a/» in t.out file (according 
to the help, resolve() keeps trailing path separator).
Real output: lines «./a» and «./b/» in t.out.

Tested on vim-7.3.102 from Gentoo repos and vim-7.3.119 (mercurial revision 
77f3dd990b12).

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

Raspunde prin e-mail lui