bug-wget
[Top][All Lists]
Advanced

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

Re: [Bug-wget] Wget on Windows handling of wildcards


From: Eli Zaretskii
Subject: Re: [Bug-wget] Wget on Windows handling of wildcards
Date: Wed, 06 Jun 2018 18:09:45 +0300

> From: Sam Habiel <address@hidden>
> Date: Wed, 6 Jun 2018 08:27:44 -0400
> Cc: address@hidden
> 
> Is there a valid argument to be made that some arguments for wget
> should not be expanded, like accept and reject?

Probably.  The problem is that wildcard expansion of the command line
doesn't understand the command, and so doesn't know what to expand and
what not.  Quoting was supposed to be the user's tool to control the
expansion, and it did work up until Windows Vista, when Microsoft in
their infinite wisdom changed the long-standing behavior of their
setargv code.

I came up with the *.[d]at and similar tricks because I frequently
need to invoke a port of Grep using the --include switch, where I have
the same problem on Vista and newer systems.



reply via email to

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