Eli Zaretskii
2018-06-06 15:09:45 UTC
Date: Wed, 6 Jun 2018 08:27:44 -0400
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 lineIs there a valid argument to be made that some arguments for wget
should not be expanded, like accept and reject?
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.