[Bug 1003742] Re: grep 2.9 --include not working

Margarita Manterola marga at google.com
Thu Mar 14 19:06:03 UTC 2013


The bug mentions it's fixed in 2.10 but that's not completely true,
something was fixed, but not everything.  Precise ships with 2.10-1 and
it still has the bug:

mkdir /tmp/test && cd /tmp/test
echo 1 >1
echo 2 >2

marga at viserion:/tmp/test$ grep . *
1:1
2:2
marga at viserion:/tmp/test$ grep . * --include "1"
2:2
marga at viserion:/tmp/test$ grep . * --include "2"
1:1

The fix is most likely in:
http://git.savannah.gnu.org/cgit/grep.git/commit/?id=58195fabc7559541b3736400e08e901011acd61f

This was reported and accepted as broken behaviour in:
http://lists.gnu.org/archive/html/bug-grep/2012-04/msg00056.html

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to grep in Ubuntu.
https://bugs.launchpad.net/bugs/1003742

Title:
  grep 2.9 --include not working

Status in “grep” package in Ubuntu:
  Confirmed

Bug description:
  Description: Ubuntu oneiric
  Release: 11.10
  Grep Version : 2.9-1

  grep 2.9 --include not working.

  it is fixed in grep 2.10.

  ref:
  http://savannah.gnu.org/bugs/?35698

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1003742/+subscriptions




More information about the foundations-bugs mailing list