bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: quotearg.c's shell_quoting_style and MinGW


From: John Cowan
Subject: Re: quotearg.c's shell_quoting_style and MinGW
Date: Sun, 6 May 2012 15:33:40 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Bruno Haible scripsit:

> How does % need to be quoted, then? Can you find out, please? This info
> would be useful both for Paul's proposal and for mine.

Strings of the form %FOO% in cmd.exe commands are expanded iff FOO is
an existing environment variable; otherwise, the string is left alone.
All other uses of % are likewise left alone.  This expansion is done
*before* quotation marks are interpreted, so there is no way to escape
it; you simply have to hope that you don't get hosed by it.

--
We are lost, lost.  No name, no business, no Precious, nothing.  Only empty.
Only hungry: yes, we are hungry.  A few little fishes, nassty bony little
fishes, for a poor creature, and they say death.  So wise they are; so just,
so very just.  --Gollum        address@hidden  http://ccil.org/~cowan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]