On 2015-12-26, Tony Mechelynck wrote:

> For :!/ type (or which) return "not found" and exit with status 1 so
> Vim tries to complete in a different manner. I'm not sure how it finds
> its results in this case.

It uses expand_shellcmd(), which appears to contain a bug in that it
appends "*" to the end of the file name, expands that pattern to a
list of files, then traverses that list _twice_ to build the list of
matching files.  I haven't figured out why yet.

I also tried an older version of Vim, 7.3.315, and it doesn't have
the bug.

Regards,
Gary

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

Raspunde prin e-mail lui