GNU bug report logs - #58134
grep for windows Include GLOB pattern with double star doesn't seem to work

Previous Next

Package: grep;

Reported by: Alex Benoit <Alexandre.Benoit <at> microsoft.com>

Date: Wed, 28 Sep 2022 08:45:01 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Alex Benoit <Alexandre.Benoit <at> microsoft.com>
Cc: "58134-done <at> debbugs.gnu.org" <58134-done <at> debbugs.gnu.org>
Subject: bug#58134: grep for windows Include GLOB pattern with double star doesn't seem to work
Date: Wed, 28 Sep 2022 10:41:56 -0700
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 "folder".

For that, you should use 'find' as a front end for 'grep'. It's the 
usual software tools philosophy.




This bug report was last modified 2 years and 236 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.