[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Recursive client operations not intuitive

From: Thilo-Alexander Ginkel <maillist_at_tgbyte.com>
Date: 2004-08-01 01:19:13 CEST

Branko Cibej wrote:

> Maybe I should elaborate a bit here. There _is_ a difference between
> Unix and Windows with regard to argument expansion: on Unix, you can
> tell the shell not to expand wildcards by using appropriate quoting.
> That won't work on Windows, because the C runtime's wildcard expansion
> ignores quotes

I don't think this is correct. From the Visual C++ documentation:

-- 8< --
Command-line arguments are handled by a routine called _setargv (or
_wsetargv in the wide-character environment), which by default does
not expand wildcards into separate strings in the argv string array.
You can replace the normal _setargv routine with a more powerful
version of _setargv that does handle wildcards by linking with the
Setargv.obj file. [...]

The wildcards are expanded in the same manner as operating system
commands. [...] Enclosing an argument in double quotation marks (" ")
suppresses the wildcard expansion. Within quoted arguments, you can
represent quotation marks literally by preceding the double-quotation-
mark character with a backslash (\). If no matches are found for the
wildcard argument, the argument is passed literally.
-- 8< --

Regards,
Thilo

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Aug 1 01:19:39 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.