it's okay in windows.....

On 11月10日, 下午1时57分, Ben Schmidt <[EMAIL PROTECTED]> wrote:
> John Little wrote:
> > Hi all
>
> > I've found myself revisiting an issue I raised in 2007.  Why does
>
> >     :echo glob('non_existent~')
>
> > give
>
> >     non_existent~
>
> > on *nix?  Some side effect of attempted tilde expansion it would
> > seem.   A bug IMO.
>
> Yeah, surely that's a bug. The shell returns a wildcard unchanged if it
> has no matches, but it seems Vim returns nothing. In this case, if Vim
> refers wildcard expansion to the shell, it should check if what it gets
> back is the same as what it sent, and assume no matches if it is.
>
> However, in this case, no expansion should be even being attempted,
> because the tilde isn't at the start of the string.
>
> So it seems there might be two bugs here.
>
> Ben.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to