Re: [[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Dave B
Alexis Huxley wrote: > "Quote removal" means that, as usual, quotes do not form part of the > arguments, they merely serve to delimit the arguments, I take it. > "Words between [[ and ]] ... quote removal performed" means on *all* > words between [[ and ]] I take it. Hmm ... No, that can't be rig

Re: [[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Dave B
Alexis Huxley wrote: > Description: > [[ ... =~ ... ]] is broken when RHS is quoted AFAICT that seems to have changed from 3.2alpha. According to the changelog, from version 3.2alpha, "Quoting the string argument to the [[ command's =~ operator now forces string matching, as with the other

Re: [[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Pierre Gaston
On Sun, Jun 22, 2008 at 8:15 PM, Alexis Huxley <[EMAIL PROTECTED]> wrote: >> > 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 >> st

Re: [[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Alexis Huxley
> > 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. Hmmm ... ok, than

Re: [[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Pierre Gaston
On Sun, Jun 22, 2008 at 12:07 PM, Alexis Huxley <[EMAIL PROTECTED]> 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_MACHTYP

[[ ... =~ ... ]] is broken when RHS is quoted

2008-06-22 Thread Alexis Huxley
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='ba