AM
To: Alex Benoit
Cc: 58134-d...@debbugs.gnu.org
Subject: [EXTERNAL] Re: bug#58134: grep for windows Include GLOB pattern with
double star doesn't seem to work
On 9/27/22 16:19, Alex Benoit via Bug reports for GNU grep wrote:
> However, this worked:
> grep -rl --include="*.x
esday, September 28, 2022 10:42 AM
To: Alex Benoit
Cc: 58134-d...@debbugs.gnu.org
Subject: Re: [EXTERNAL] Re: bug#58134: grep for windows Include GLOB pattern
with double star doesn't seem to work
[You don't often get email from egg...@cs.ucla.edu. Learn why this is important
at
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'
On 9/28/22 10:29, Alex Benoit wrote:
For instance, if I run the grep command from /, and I have the files:
/a/b/folder/file.xml
/a/b/file2.xml
/a/folder/file3.xml
/folder/file4.xml
I want to match the file.xml, file3.xml and file4.xml, but not file2.xml, because it is
not under a folder named "
Hello,
I was using grep for Windows version 3.5.
I was trying to pattern match files.
At first, I thought I could put a regex as the file pattern in the command, but
that didn't seem to work.
Then I looked at the --include option.
I tried
grep -l --include="**/*.xml" foo .
grep -l --include=