Hi!

> Bram Moolenaar wrote:
> > Andy Wokula wrote:
> > 
> > > Am 14.02.2012 13:20, schrieb mattn:
> > > > cmd /c "(echo a&  echo b)"
> > > 
> > > Ok!

One caveat that I learned the hard way:

Do not trust "echo" too much when testing shell quoting on Windows!

On Windows the separation of the command line into words (i.e. argv)
is not done by the shell but is left to the invoked program.
Most programs (not "echo"!) will rely on the Microsoft C library for that which
contains its own un-quoting with its own insanities and bugs.
So you have to fight at least two levels when quoting.

I found it most reliable for testing to write a simple C program
that prints its argv[] array.

best regards

Edwin

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

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