Bug 601646 - =~ no longer working
Summary: =~ no longer working
Status: CLOSED DUPLICATE of bug 558537
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: bash (Show other bugs)
(Show other bugs)
Version: 6.0
Hardware: All Linux
Target Milestone: rc
: ---
Assignee: Roman Rakus
QA Contact: BaseOS QE - Apps
Depends On:
TreeView+ depends on / blocked
Reported: 2010-06-08 11:53 UTC by Levente Farkas
Modified: 2014-01-13 00:11 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2010-06-08 12:51:44 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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 Product and 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

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!

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