Bug 649995

Summary: "grep: character class syntax is [[:space:]], not [:space:]" printed for every tcsh shell
Product: Red Hat Enterprise Linux 5 Reporter: Bryan Mason <bmason>
Component: initscriptsAssignee: initscripts Maintenance Team <initscripts-maint-list>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: medium Docs Contact:
Priority: medium    
Version: 5.5CC: azelinka, harald, notting
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
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.
Story Points: ---
Clone Of: 636552 Environment:
Last Closed: 2011-07-21 08:36:07 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:
Bug Depends On: 636552    
Bug Blocks: 668576    

Description Bryan Mason 2010-11-04 22:55:28 UTC
+++ 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.

Comment 1 Bill Nottingham 2011-01-24 16:17:12 UTC
http://git.fedorahosted.org/git/?p=initscripts.git;a=commitdiff;h=cdf0ae757755f341378356f5bb56d2eb6443fba9 is the upstream commit to backport.

Comment 5 Tomas Capek 2011-07-13 12:24:51 UTC
    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.

Comment 6 errata-xmlrpc 2011-07-21 08:36:07 UTC
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

Comment 7 errata-xmlrpc 2011-07-21 12:40:06 UTC
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