Bug 138558
Summary: | grep-2.5.1-36 thoroughly broken in UTF-8 environments | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Michal Jaegermann <michal> | ||||||
Component: | grep | Assignee: | Tim Waugh <twaugh> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Mike McLean <mikem> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | rawhide | ||||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2004-12-14 16:35:28 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Michal Jaegermann
2004-11-09 21:38:02 UTC
Confirmed. Thanks for the report. Correct behaviour can be regained by setting GREP_USE_DFA=1 in the environment. I have fixed this problem and built a new package, 2.5.1-37, to fix the problem. It will be in tomorrow's rawhide. In the mean-time it can be found here: ftp://people.redhat.com/twaugh/tmp/grep/ Please check to see if this fixes the problem for you. Thanks. Indeed 2.5.1-37 from .../tmp/grep so far looks fine to me. At least my network starts without "heroic efforts". :-) Created attachment 106949 [details]
run grep -w magicword on this
grep-2.5.1-39 seems still badly broken on UTF-8 Do: /bin/grep -w magicword foo on the attached file ; I get the garbage foo.result (attached as well). With GREP_USE_DFA=1, the problem goes away, but then we've got a noticeable slowdown in matching (2x ; could be that it's the price to pay...). See bug 121313 E. Created attachment 106950 [details]
Heres
Fixed package is grep-2.5.1-40, which will appear in Fedora development tomorrow. In the mean time I'll put it here: ftp://people.redhat.com/twaugh/tmp/grep/ (Please report any future problems as separate bug reports; thanks.) |