Bug 503805
Summary: | Issues with multibyte support and the -i argument to grep | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Stew Benedict <stewb> |
Component: | grep | Assignee: | Jaroslav Škarvada <jskarvad> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Michal Nowak <mnowak> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | jskarvad, kasal, lkundrak, mnowak, ohudlick, pbonzini |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | grep-2.6.3-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-11-10 20:35:10 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
Stew Benedict
2009-06-02 19:39:43 UTC
Standalone testcase, not requiring even grep: echo 'abCD' | LC_ALL=LTP_1.UTF-8 sed -ne 's/AbcD//ip' It works with LC_ALL set to something saner, so this happens because the locale is invalid. I don't know if there is a need for some special set up, but I'm inclined to close this bug as invalid. Yes, the test suite installs and sets up the test locale. I'm pretty sure the problem resides in the RH grep build. Several other distributions also had this issue after a somewhat recent grep uplift (6 months ago when the bug was opened), and corrected it by reworking or dropping patches. It consistently fails in my testing every week on rawhide, and not on any other distribution. Test package: http://ftp.linuxfoundation.org/pub/lsb/snapshots/runtime-test/lsb-test-core-4.0.102-1.i486.rpm Please try the latest grep-2.6.x packages from koji. Test does seem to be passing with grep-2.6.1-1.fc14 Re-open against the RHEL6 beta This version has grep-2.5.3-6.1.el6.i686 and fails the test. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion. Fixed in grep-2.6.3-1.el6 that is heading RHEL-6. Appears to be corrected in RHEL6-beta2 Red Hat Enterprise Linux 6.0 is now available and should resolve the problem described in this bug report. This report is therefore being closed with a resolution of CURRENTRELEASE. You may reopen this bug report if the solution does not work for you. |