[Pm-utils] Re: [patch] fix modunload function
pjones at redhat.com
Fri Mar 16 09:20:26 PDT 2007
On Fri, 2007-03-16 at 14:06 +0100, Stefan Seyfried wrote:
> 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
> root at strolchi:/# A=button
> root at strolchi:/# B=$A
> root at strolchi:/# [[ "$A" =~ "$B" ]] || echo hello
> looks strange.
Yeah, that looks pretty broken. Works here, btw:
vroomfondel:~$ [[ "$A" =~ "$B" ]] || echo hello
I dunno if bash uses its own expressions or what, but FWIW,
vroomfondel:~$ rpm -q bash glibc
But yeah, your patch is simpler and should work, so applied.
More information about the Pm-utils