Bug 210876
Summary: | 'grep' takes minutes to complete the operation if using invert-match and "or" | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | theresa.chin |
Component: | grep | Assignee: | Tim Waugh <twaugh> |
Status: | CLOSED ERRATA | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.2 | ||
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | ia64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2006-10-17 13:39:42 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: |
Description
theresa.chin
2006-10-16 13:45:20 UTC
Please try the package from the latest update (Update 4), which contains several changes to address performance problems. Alternatively if your search pattern contains no '.' or non-ASCII characters, you can speed the operation up significantly by getting grep to process the input as ASCII instead of the default UTF-8. Just set 'LC_CTYPE=C' in the environment ('export LC_CTYPE=C' in bash). Thank you for the solution. We've tried the latest update version of grep 'grep-2.5.1-32.2.ia64.rpm' and the slow operation problem has been solved. Best regards, Theresa Chin |