On Wed, Feb 15, 2012 at 12:36 PM, Andy Wokula <[email protected]> wrote:
> Am 15.02.2012 17:22, schrieb Ben Fritz:
>
>>> New settings:
>>>      shellcmdflag: /c
>>>      shellxquote: (
>>> and escape special chars with `^'.
>>
>>
>> So you're saying, we must escape all special characters, INCLUDING
>> QUOTES, and surround in parentheses?
>
>
> Yes, including quotes!
>
>> That's...special.
>
>
> But solves all problems so far.

Parentheses are still weird :-(

C:\eclim-git\eclim>cmd /c echo abc)
abc)

C:\eclim-git\eclim>cmd /c (echo abc))
) was unexpected at this time.

C:\eclim-git\eclim>cmd /c (echo abc^))
) was unexpected at this time.

C:\eclim-git\eclim>cmd /c (echo abc^^))
abc)

C:\eclim-git\eclim>cmd /c (echo abc^(^))
) was unexpected at this time.

C:\eclim-git\eclim>cmd /c (echo ^"abc^)^")
"abc)"

C:\eclim-git\eclim>cmd /c (^(echo abc^) ^& ^(pause^))
abc
Press any key to continue . . .

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

Raspunde prin e-mail lui