Com MN PG P E B Consultant 3 wrote: > >From the grep man-page: > > --include=PATTERN > Recurse in directories only searching file matching > PATTERN. > > What type of PATTERN can be used here (i.e. glob, regex, extended regex, > etc.)?
grep is not a part of coreutils, so you're asking in the wrong list. But if it were me, I would try something like: $ find D -name no\* -o -name uh\* -print0 | xargs -0 grep abc The 'find' command is designed specifically for this purpose and has many more features and knobs for recursion, compared to trying to make grep do this job. Brian _______________________________________________ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils