Bug 601646

Summary: =~ no longer working
Product: Red Hat Enterprise Linux 6 Reporter: Levente Farkas <lfarkas>
Component: bashAssignee: Roman Rakus <rrakus>
Status: CLOSED DUPLICATE QA Contact: BaseOS QE - Apps <qe-baseos-apps>
Severity: high Docs Contact:
Priority: low    
Version: 6.0CC: mailings, tsmetana
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-06-08 12:51:44 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 Levente Farkas 2010-06-08 11:53:17 UTC
=~ no longer working in bash-4.1.2-2.el6. just try this little line:
if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi
this give "inside" on rhel-5, and up to fedora-12.
imho it's a serious error since all shell script are fail when use =~ :-(

Comment 2 RHEL Program Management 2010-06-08 12:13:23 UTC
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.

Comment 3 Roman Rakus 2010-06-08 12:51:44 UTC
Yep, and it is documented.
see https://bugzilla.redhat.com/show_bug.cgi?id=558537

Comment 4 Roman Rakus 2010-06-08 13:01:40 UTC

*** This bug has been marked as a duplicate of bug 558537 ***

Comment 5 Ferry Huberts 2010-08-13 09:43:31 UTC
I'm getting hit with this bug while porting my applications.

Also: "You are not authorized to access bug #558537."

Not funny. I'd like to read this documentation!