bug-coreutils
[Top][All Lists]
Advanced

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

Re: Filename pattern in grep --include=....


From: Philip Rowlands
Subject: Re: Filename pattern in grep --include=....
Date: Thu, 2 Feb 2006 02:44:44 +0000 (GMT)

On Tue, 31 Jan 2006, Com MN PG P E B Consultant 3 wrote:

From the grep man-page:

      --include=PATTERN
             Recurse in directories only searching file matching
PATTERN.

GNU grep is not a coreutil, so this isn't the best mailing list for grep questions.

What type of PATTERN can be used here (i.e. glob, regex, extended regex, etc.)?

I just tried a few patterns, and it seems to be glob-like, but without support for {x,y} constructs. * and ? wildcards and [a-z] ranges appear to work.


Cheers,
Phil




reply via email to

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