Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 335761 - sys-apps/grep-2.6.3 fails when --include option is specified
Summary: sys-apps/grep-2.6.3 fails when --include option is specified
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-03 09:07 UTC by Dmitry Goncharov
Modified: 2010-09-20 17:03 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
paludis --info sys-apps/grep (grep.info,16.72 KB, text/plain)
2010-09-03 09:08 UTC, Dmitry Goncharov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dmitry Goncharov 2010-09-03 09:07:03 UTC
A small bash session which demonstrates the problem.

$ mkdir test
$ cd test
$ echo asdf > m.cpp
$ echo asdf > m.html
$ grep -nr --include=*.cpp --include=*.c "asd" *
m.html:1:asdf
$

Reproducible: Always




$ grep --version
GNU grep 2.6.3

$ paludis -q grep
* sys-apps/grep
    layman:                  (2.5.1a-r2 (in ::drizzt-overlay))X {:0}
    gentoo:                  2.5.4-r1 2.6.3(~) {:0}
    installed:               2.6.3* {:0}
    Description:             GNU regular expression matcher
    Homepage:                http://www.gnu.org/software/grep/
    License:                 GPL-3
    Installed time:          Fri Sep 03 12:41:28 MSD 2010
    Use flags:               (-nls) (pcre) Build Options: -trace
    From repositories:       gentoo
    Installed using:         paludis-0.54.2
$ gcc --version
gcc (Gentoo 4.4.4-r1 p1.0, pie-0.4.5) 4.4.4
Comment 1 Dmitry Goncharov 2010-09-03 09:08:09 UTC
Created attachment 245839 [details]
paludis --info sys-apps/grep
Comment 2 SpanKY gentoo-dev 2010-09-08 08:20:45 UTC
this appears to be fixed already in grep-2.6.4.  so unless you feel like tracking down the commit that fixed this, i'll just wait for the next release.
Comment 3 SpanKY gentoo-dev 2010-09-20 17:03:35 UTC
grep-2.7 now in the tree