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:41:56 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

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.





reply via email to

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