Charles Campbell wrote:
> Please try the following on a linux system:
>
> mkdir PROBLEM
> cd PROBLEM
> ln -s file1 file2
>
> Doing ls shows file2 exists (but it points to a non-existing file).
>
> Fire up vim:
>
> vim -u NONE -N
> :echo string(glob("*"))
>
> shows that glob() returns an empty string, whereas it should show
> file2. "file2" is a symbolic link, which means that its a file that has
> contents (which happens to be a path to a non-existing file).
I see the problem. And when you create the "file2" file it lists both
file1 and file2.
--
Emacs is a nice OS - but it lacks a good text editor.
That's why I am using Vim. --Anonymous
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" 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_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.