Yet another optparse

Rueschi rueschi at GIquadrat.de
Wed Jan 10 03:49:31 PST 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Kirk McDonald schrieb:
> CyaNox wrote:
>> Does your implementation account for the following:
>>
>> app --file="foo bar"
>> app --file "some --file with spaces and quoted"
>>
> 
> Quoting is taken care of by the shell before the argument even gets to
> your program.

This is not true on Windows systems, where the whole command line is
passed in only one string. The parsing is left to the program.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)

iD8DBQFFpNLLxpVjSwvEWI4RAuw+AKDepC4RezE+17dNx1emsxB348ts5ACeINKZ
J9nL+2ur+gNXweSoX3Y6Rqs=
=B/SE
-----END PGP SIGNATURE-----



More information about the Digitalmars-d mailing list