grep(1) now (I'm reading it on Jaunty although I suspect it was fixed
earlier) describes the --include/--exclude options as taking a GLOB;
"glob" is the usual jargon name for shell wildcards, but it does clarify
the jargon as well. It also seems to have fixed the misleading "recurse"
text:

       --exclude=GLOB
              Skip  files whose base name matches GLOB (using wildcard
              matching).  A file-name glob can use *, ?, and [...]  as
              wildcards,  and  \  to  quote  a  wildcard  or backslash
              character literally.

       --exclude-from=FILE
              Skip files whose base name matches any of the  file-name
              globs   read  from  FILE  (using  wildcard  matching  as
              described under --exclude).

       --exclude-dir=DIR
              Exclude  directories  matching  the  pattern  DIR   from
              recursive searches.

[...]

       --include=GLOB
              Search  only  files  whose base name matches GLOB (using
              wildcard matching as described under --exclude).

** Changed in: grep (Ubuntu)
       Status: Confirmed => Fix Released

-- 
grep(1) man page confuses the 2 kinds of PATTERN used
https://bugs.launchpad.net/bugs/23023
You received this bug notification because you are a member of Ubuntu
Bugs, which is a direct subscriber.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to