Bug 649995 - "grep: character class syntax is [[:space:]], not [:space:]" printed for every tcsh shell
Summary: "grep: character class syntax is [[:space:]], not [:space:]" printed for ever...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: initscripts
Version: 5.5
Hardware: All
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: initscripts Maintenance Team
QA Contact: qe-baseos-daemons
URL:
Whiteboard:
Depends On: 636552
Blocks: 668576
TreeView+ depends on / blocked
 
Reported: 2010-11-04 22:55 UTC by Bryan Mason
Modified: 2018-11-14 16:46 UTC (History)
3 users (show)

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.
Clone Of: 636552
Environment:
Last Closed: 2011-07-21 08:36:07 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1081 0 normal SHIPPED_LIVE initscripts bug fix and enhancement update 2011-07-21 08:33:52 UTC

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


Note You need to log in before you can comment on or make changes to this bug.