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
>> --
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;
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,
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
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
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
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