Quoted regular expressions does not work in test operator [[ ]] in Red hat Enterprise Linux 6

Solution Verified - Updated -

Issue

  • Quoted regular expressions does not work in  [[ ]] in Red hat Enterprise Linux 6

Environment

  • Red Hat Enterprise Linux 6
  • Bash 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In