On 22/09/07 12:44 +0200, Richard Hartmann wrote:
>
>It seems to me that at least some of the ZSH handling
>needs to be left in for the versions that use WS instead
>of NUL to seperate results. Unfortunately, the comment

There're only two conditions: STYLE_BT and STYLE_*_GLOB.
1. STYLE_BT (backquoted commands): the result is unpredictable. I
take the result as NewLine separated for assumption.
2. STYLE_*_GLOB (glob command), the result is guaranteed to be NUL
separated.

So, it's impossible to produce WhiteSpace separated results.

If that old-version zsh will produce WS result, IMO, we should simply
write a new shell function named glob() to teach the shell to produce
NUL separated result, rather than insert new code to deal with that
result in mch_expand_wildcards().

>does not mention _which_ versions this would be. If you
>want me to, I can try to get a list so this can be tested.
>

Nice. If the glob() produces evil result other than NUL
separated in that shell, please info me.

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