On Fri, 2007-03-16 at 14:06 +0100, Stefan Seyfried wrote:
> Hi,
> 
> modunload currently does not unload anything but "pcmcia" for me.
> I'm not sure why this is happening, maybe it is even a bug in my
> bash, since
> 
> [EMAIL PROTECTED]:/# A=button
> [EMAIL PROTECTED]:/# B=$A
> [EMAIL PROTECTED]:/# [[ "$A" =~ "$B" ]] || echo hello
> hello
> 
> looks strange.

Yeah, that looks pretty broken.  Works here, btw:

vroomfondel:~$ A=button
vroomfondel:~$ B=$A
vroomfondel:~$ [[ "$A" =~ "$B" ]] || echo hello
vroomfondel:~$ 

I dunno if bash uses its own expressions or what, but FWIW, 

vroomfondel:~$ rpm -q bash glibc
bash-3.2-9.fc7
glibc-2.5.90-17

But yeah, your patch is simpler and should work, so applied.

-- 
  Peter
_______________________________________________
Pm-utils mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pm-utils

Reply via email to