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

2008-06-24 Thread Alexis Huxley
> And this is how. Quoting any part of the rhs forces it to be matched > as a string. Okay, that's very clear. Maybe the man page could be updated? > Patch 39, which you appear to have applied, introduces a `compat31' shell > option which you may enable to restore the bash-3.1 behavior. Ah! And

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

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

2008-06-22 Thread Alexis Huxley
bash 3.2-4 dpkg.log:2008-06-17 06:25:34 status installed bash 3.2-4 So I'm almost certain this is a bug introduced in bash 3.2. The COMPAT and CHANGES files don't list anything that might mean this is a change rather than a bug :-) Let me know if I can be of further assistance. Regar