bug-grep
[Top][All Lists]
Advanced

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

bug#58134: grep for windows Include GLOB pattern with double star doesn'


From: Paul Eggert
Subject: bug#58134: grep for windows Include GLOB pattern with double star doesn't seem to work
Date: Wed, 28 Sep 2022 10:07:27 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 9/27/22 16:19, Alex Benoit via Bug reports for GNU grep wrote:
However, this worked:
grep -rl --include="*.xml" foo .

Is the double star supported on Windows?

Yes and no. It's a POSIX glob, which means "**" is equivalent to "*", and that's what's supported. Whether it's MS-Windows shouldn't matter.


What is the proper way to do it?

Looks like you found it already.





reply via email to

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