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@viserion:/tmp/test$ grep . * 1:1 2:2 marga@viserion:/tmp/test$ grep . * --include "1" 2:2 marga@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 Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1003742 Title: grep 2.9 --include not working To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/grep/+bug/1003742/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
