Re: is fedora really bleeding edge?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@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@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



-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org


[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux