Red Hat Bugzilla – Bug 601646
=~ no longer working
Last modified: 2014-01-12 19:11:59 EST
=~ 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 =~ :-(
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
Yep, and it is documented.
*** This bug has been marked as a duplicate of bug 558537 ***
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!