[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: unavoidable wildcard expansion on Windows 7
From: |
Bruno Haible |
Subject: |
Re: unavoidable wildcard expansion on Windows 7 |
Date: |
Sun, 13 May 2012 22:38:58 +0200 |
User-agent: |
KMail/4.7.4 (Linux/3.1.10-1.9-desktop; KDE/4.7.4; x86_64; ; ) |
Eli Zaretskii wrote:
> > Since '^' is a quoting character in cmd.exe, maybe you can try whether
> > it helps to protect "*" inside double-quotes on Windows 7? That is,
> > try to pass arguments such as
> > ^*
> > ^^*
> > "*"
> > "^*"
> > "^^*"
> > \"*\"
> > \"^*\"
> > \"^^*\"
> > ^"*^"
> > ^^"*^^"
>
> I've now tested these, and as expected, they don't help on Windows 7.
>
> My conclusion is that ^ is processed entirely by cmd.exe in its
> application code, whereas globbing code in MSVCRT does not assign any
> special meaning to that character.
Thanks for testing.
There are many programs that except to get a wildcard expression or
regular expression on the command line, such as
csplit expr find grep nl ptx sed tac tr
What's the recommendation for using these as mingw binaries?
Or shall we claim they're unsupported on mingw, and only supported as
Cygwin binaries (where Cygwin handles the wildcard expansion according
to the old rules)?
Bruno
- Re: new module 'system-quote', (continued)
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/10
- Re: new module 'system-quote', Bruno Haible, 2012/05/10
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/11
- Re: new module 'system-quote', Bruno Haible, 2012/05/11
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/11
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/13
- Re: unavoidable wildcard expansion on Windows 7,
Bruno Haible <=
- Re: unavoidable wildcard expansion on Windows 7, Eli Zaretskii, 2012/05/13
- Re: new module 'system-quote', Bruno Haible, 2012/05/10
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/11
- Re: new module 'system-quote', Bruno Haible, 2012/05/12
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/12
- Re: new module 'system-quote', Ben Pfaff, 2012/05/09
- Re: new module 'system-quote', Eli Zaretskii, 2012/05/09
- Re: new module 'system-quote', Bruno Haible, 2012/05/09
- Re: new module 'system-quote', Bastien ROUCARIES, 2012/05/09
- Re: new module 'system-quote', Bruno Haible, 2012/05/09