Re: in f13 =~ no longer working in bash

2010-06-09 Thread James Findley
On 06/08/2010 08:05 PM, Richard W.M. Jones wrote: > On Tue, Jun 08, 2010 at 02:14:12PM +0200, Farkas Levente wrote: >> hi, >> =~ no longer working in bash. just try this little line: >> - >> if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi >> --

Re: in f13 =~ no longer working in bash

2010-06-08 Thread Ville Skyttä
On Tuesday 08 June 2010, Richard W.M. Jones wrote: > The full fix is *not* just quote removal. > > cf. our first fix: > http://git.annexia.org/?p=libguestfs.git;a=commitdiff;h=457fccae1b665347f81 > 045e8c7a3309d8328c4fc > > and out later, complete fix: > http://git.annexia.org/?p=libguestfs.git;

Re: in f13 =~ no longer working in bash

2010-06-08 Thread Richard W.M. Jones
On Tue, Jun 08, 2010 at 02:14:12PM +0200, Farkas Levente wrote: > hi, > =~ no longer working in bash. just try this little line: > - > if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi > - > this give "inside" up to fedora-12,

Re: in f13 =~ no longer working in bash

2010-06-08 Thread Andreas Schwab
Farkas Levente writes: > hi, > =~ no longer working in bash. just try this little line: > - > if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi > - See question E14 in the Bash FAQ. Andreas. -- Andreas Schwab, sch...@red

Re: in f13 =~ no longer working in bash

2010-06-08 Thread Sergeev Pavel
08.06.10, 16:14, "Farkas Levente" : > hi, > =~ no longer working in bash. just try this little line: > - > if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi > - > this give "inside" up to fedora-12, but it gives > "outs

Re: in f13 =~ no longer working in bash

2010-06-08 Thread David Michael
On Tue, Jun 8, 2010 at 8:14 AM, Farkas Levente wrote: > hi, > =~ no longer working in bash. just try this little line: > - > if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi > - > this give "inside" up to fedora-12, but it g

in f13 =~ no longer working in bash

2010-06-08 Thread Farkas Levente
hi, =~ no longer working in bash. just try this little line: - if [[ "abc" =~ "abc.*" ]]; then echo inside; else echo outside; fi - this give "inside" up to fedora-12, but it gives "outside" in fedora-13. imho it's a serious changes since all