[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: regex in bashexpression doesn't work
From: |
Clark WANG |
Subject: |
Re: regex in bashexpression doesn't work |
Date: |
Mon, 25 Jun 2012 16:49:54 +0800 |
On Mon, Jun 25, 2012 at 3:18 PM, Niels Carl W. Hansen <
recnh@aauindy.cscaa.dk> wrote:
>
> Description:
> [[ 'foobar' =~ 'o.a' ]] && echo FOUND
> should print FOUND but it doesn't.
> This have worked in previeous versions of bash.
> The bash used comes with CentOS 6.2
>
See E14 in Bash FAQ: http://tiswww.case.edu/php/chet/bash/FAQ
>
> Repeat-By:
> No privous commands necessary to generate this problem.
>
> Fix:
>
>
>