[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [[ ... =~ ... ]] is broken when RHS is quoted
From: |
Pierre Gaston |
Subject: |
Re: [[ ... =~ ... ]] is broken when RHS is quoted |
Date: |
Sun, 22 Jun 2008 19:35:02 +0300 |
On Sun, Jun 22, 2008 at 12:07 PM, Alexis Huxley <ahuxley@gmx.net> wrote:
> Configuration Information [Automatically generated, do not change]:
> Machine: i486
> OS: linux-gnu
> Compiler: gcc
> Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='i486'
> -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='i486-pc-linux-gnu'
> -DCONF_VENDOR='pc' -DLOCALEDIR='/usr/share/locale' -DPACKAGE='bash' -DSHELL
> -DHAVE_CONFIG_H -I. -I../bash -I../bash/include -I../bash/lib -g -O2
> -Wall
> uname output: Linux lasagne 2.6.24-1-686 #1 SMP Thu May 8 02:16:39 UTC 2008
> i686 GNU/Linux
> Machine Type: i486-pc-linux-gnu
>
> Bash Version: 3.2
> Patch Level: 39
> Release Status: release
>
> Description:
> [[ ... =~ ... ]] is broken when RHS is quoted
from http://tiswww.case.edu/php/chet/bash/CHANGES :
f. Quoting the string argument to the [[ command's =~ operator now forces
string matching, as with the other pattern-matching operators.