On 31/10/07 17:43 +0100, Vladimir Marek wrote:
>
>============================ os_unix.c:6652 ============================
>    /* file names are separated with Space */
>    if (shell_style == STYLE_ECHO)
>    {
>       buffer[len] = '\n';             /* make sure the buffer ends in NL */
>       p = buffer;
>       for (i = 0; *p != '\n'; ++i)    /* count number of entries */
>       {
>           while (*p != ' ' && *p != '\n')
>               ++p;
>           p = skipwhite(p);           /* skip to next entry */
>       }
>    }
>========================================================================
>
>and since the string was "/a/b/c 'd" it's separated to two files -
>/a/b/c and 'd
>
>If I'm right with my investigation, I feel that the result is wrong. If
>there is really file called "/a/b/c 'd" expand should return "/a/b/c 'd"
>as one string.
>
>Thanks
>

This kind of glob depends on your 'shell' option, try 'csh' instead
whose glob command is better than the 'echo' of POSIX sh. 

Or maybe you are interested in the patch I post to dev sometime ago.

-- 
Dasn


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui