base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread Ricardo F
Package: base Severity: normal *** Please type your report below this line *** Whe i put this script in etch, it works, but in lenny don't work, the condition is true, but any lines are output. ¿i don't know what's the problem? if [[ foobarbletch =~ 'foo(bar)bl(.*)' ]] then echo The

Re: base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread Javier Barroso
Hi, On Thu, Nov 26, 2009 at 5:22 PM, Ricardo F r...@esdebian.org wrote: Package: base Severity: normal *** Please type your report below this line *** Whe i put this script in etch, it works, but in lenny don't work, the condition is true, but any lines are output. ¿i don't know what's the

Re: base: Fails when i process a simple shell script with regular expressions in Lenny but not in Etch.

2009-11-26 Thread John Hasler
I don't see why the test should succeed at all with those quotes in there. In any case, you should file your bug report against the bash package. I suggest you do more tests first, after re-reading the section of the bash man page on the [[ expression ]] construct. -- John Hasler -- To