Tuesday, November 11, 2014

Re: ** matches one or more directories, not zero or more

Am 2014-11-11 11:30, schrieb John Little:
> On Tuesday, November 11, 2014 9:08:59 PM UTC+13, Christian Brabandt
> wrote:
>> Since the behaviour of ** is not standardized and vim is no shell,
>> that
>> is no argument for or against anything.
>
> I beg to differ on that. Vim is obviously copying functionality that
> came from shells.

I think the Vim implementation of '**' predates the bash implementation
(which appears to
be available only since bash 4).

But in any case, I am not going to discuss this further, I have
mentioned a workaround
(which uses an even simpler pattern) and apart from that have no further
opinion on that
(except that it seems logical to me, to have '/' mean that the pattern
must match
at a directory).

Best,
Christian

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: