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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to