[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65238: grep can not using *.bat file pattern
From: |
Dimitry Andric |
Subject: |
bug#65238: grep can not using *.bat file pattern |
Date: |
Sun, 13 Aug 2023 00:27:22 +0200 |
On 12 Aug 2023, at 21:57, Paul Eggert <eggert@cs.ucla.edu> wrote:
>
> On 2023-08-12 00:50, moonhk wrote:
>> I am using choco to install grep on Windows 10.
>
> As I don't know what choco is, I can't be of much help. I suggest writing to
> the choco folks, whoever they are, as it's the MS-Windows port that is the
> problem. Upstream maintainers like me don't know MS-Windows.
"Chocolatey" is a package manager (of sorts) for Windows, see
<https://chocolatey.org/>. It looks like lots of packages available via
this package manager are contributed by individual maintainers, which
apparently do their own builds and upload the resulting binaries. In
this case it is <https://community.chocolatey.org/packages/grep>,
uploaded/maintained by a person called "xoviat". It is unclear how you
should contact this person.
In any case, on Windows command line utilities typically have to do
their own wildcard expansion, but Microsoft provides a relatively simple
way to do so:
https://learn.microsoft.com/en-us/cpp/c-language/expanding-wildcard-arguments
However, in most cases it is easier to use Cygwin or MinGW, which
provide Unix-like shells and all the familiar tools, including a working
grep! :-)
-Dimitry
signature.asc
Description: Message signed with OpenPGP