From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 Firefox/1.0.4 Description of problem: echo "abc123def456ghi"|egrep --color "^[[:alpha:]]{3}([[:digit:]]{3}[[:alpha:]]{3}){2}" fails to return a result; however, echo "abc123def456ghi"|LANG=C egrep --color "^[[:alpha:]]{3}([[:digit:]]{3}[[:alpha:]]{3}){2}" works as intended. This behavior results from RHEL4 source, but not from the equivalent Fedora 4 package (2.5.1-48), which behaves as expected without being coerced to LANG=C. Version-Release number of selected component (if applicable): grep-2.5.1-31 How reproducible: Always Steps to Reproduce: 1. echo "abc123def456ghi"|egrep --color "^[[:alpha:]]{3}([[:digit:]]{3}[[:alpha:]]{3}){2}" 2. echo "abc123def456ghi"|LANG=C egrep --color "^[[:alpha:]]{3}([[:digit:]]{3}[[:alpha:]]{3}){2}" 3. Compare the output. Repeat on Fedora if necessary. Additional info: A possible relationship with bug #143079 has been suggested.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on the solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2006-0224.html