[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grep 2.5.1-r1 Possible Bug (fwd)
From: |
Robert G Graf |
Subject: |
grep 2.5.1-r1 Possible Bug (fwd) |
Date: |
Thu, 11 Aug 2005 20:40:59 -0500 (CDT) |
Hello,
It appears that this behavior is due to a lack of implementation in
grep. The only_matching section in prline() function fails to account for
the case when match_icase is enabled. The included grep.c file solves
this problem in a similar fashion to the --color implementation.
Please include this patch in future releases if you find it worthy; it
sure helps me! :D
Thank you and Enjoy!
Bob
---------- Forwarded message ----------
Date: Thu, 11 Aug 2005 14:50:37 -0500 (CDT)
From: Robert G Graf <address@hidden>
To: address@hidden
Subject: grep 2.5.1-r1 Possible Bug
Hello,
I have a simple question:
Is the following behavior intended to be this way, or is this a bug?
address@hidden $ egrep -i -o "dsl checklist" << EOF
> DSL Checklist
> EOF
address@hidden $ egrep -i "dsl checklist" << EOF
> DSL Checklist
> EOF
DSL Checklist
address@hidden $
The -o and -i options combined produce no matches while the -i alone does.
I would like to be able to use both of them.
Any help is greatly appreciated,
Thanks!
Bob
grep.c
Description: Text document
- grep 2.5.1-r1 Possible Bug (fwd),
Robert G Graf <=