+++ This bug was initially created as a clone of Bug #636552 +++ Description of problem: When I log in or open a new terminal window, I'm seeing this message: grep: character class syntax is [[:space:]], not [:space:] Version-Release number of selected component (if applicable): initscripts-8.45.30-2.el5.x86_64 grep-2.7 How reproducible: Always Steps to Reproduce: 1. su - -s /bin/tcsh [any user name] or 1. tcsh -x /etc/profile.d/lang.csh Actual results: grep: character class syntax is [[:space:]], not [:space:] Expected results: grep's diagnostic error gone away Additional info: This is being triggered by a customer's use of perl-2.7. I understand that this is technically outside of our SLA, but thought we might modify lang.csh since a) the existing script is, strictly speaking, incorrect (even though grep-2.5.1 silently ignores that fact), and b) it's already been addressed in Fedora 14/rawhide.
http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=cdf0ae757755f341378356f5bb56d2eb6443fba9 is the upstream commit to backport.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: Previously, the following diagnostic error message was given in every tcsh shell: "grep: character class syntax is [[:space:]], not [:space:]". This bug has been fixed in the /etc/profile.d/lang.csh script and the error message is no longer given.
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 therefore 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-2011-1081.html