is fedora really bleeding edge?
Marko Vojinovic
vvmarko at gmail.com
Mon Mar 5 22:26:55 UTC 2012
On Monday, 5. March 2012. 10.04.41 Aaron Konstam wrote:
> Now the \* comes from a bash rule. If you enter an argument like
> python3* bash will try to expand the argument before it is submitted to
> yum for processing. Using something like python3\* delays the expansion
> of the argument until yum is processing it so other rpms whose names
> start with python3 will be downloaded.
Umm, now I'm confused. While I do understand what you are trying to say, I see
that the outputs of "yum list selinux*" and "yum list selinux\*" are exactly
the same:
[root at Yoda ~]# yum list selinux*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
selinux-policy.noarch
selinux-policy-targeted.noarch
Available Packages
selinux-policy-doc.noarch
selinux-policy-minimum.noarch
selinux-policy-mls.noarch
[root at Yoda ~]# yum list selinux\*
Loaded plugins: langpacks, presto, refresh-packagekit
Installed Packages
selinux-policy.noarch
selinux-policy-targeted.noarch
Available Packages
selinux-policy-doc.noarch
selinux-policy-minimum.noarch
selinux-policy-mls.noarch
Somehow I don't see that in the first case bash performs * substitution rather
than passing it to yum literally. The selinux\* case is ok, but the selinux*
is not what you say should happen.
I agree that in general bash *should* perform the substitution before passing
the arguments to yum, but it just doesn't seem to happen in this case. Anybody
care to explain why?
Best, :-)
Marko
More information about the users
mailing list