Re: Getting rpm update history with wildcarding

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

 



Ed Greshko wrote:
> On Fri, Jun 15, 2018, 18:46 Patrick O'Callaghan <pocallaghan@xxxxxxxxx>
> wrote:
> 
>> On Fri, 2018-06-15 at 18:01 +0800, Ed Greshko wrote:
>>> [egreshko@meimei ~]$ rpm -qa pulse*
>>> pulseaudio-11.1-18.fc28.1.x86_64
>>> pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64
>>> pulseaudio-module-x11-11.1-18.fc28.1.x86_64
>>> pulseaudio-libs-11.1-18.fc28.1.x86_64
>>> pulseaudio-libs-glib2-11.1-18.fc28.1.x86_64
>>> pulseaudio-utils-11.1-18.fc28.1.x86_64
>>>
>>> [egreshko@meimei ~]$ rpm -qa *pulse*
>>> pulseaudio-11.1-18.fc28.1.x86_64
>>> pulseaudio-module-bluetooth-11.1-18.fc28.1.x86_64
>>> alsa-plugins-pulseaudio-1.1.6-3.fc28.x86_64
>>> pulseaudio-module-x11-11.1-18.fc28.1.x86_64
>>> pulseaudio-libs-11.1-18.fc28.1.x86_64
>>> kde-settings-pulseaudio-28.0-2.fc28.noarch
>>> pulseaudio-libs-glib2-11.1-18.fc28.1.x86_64
>>> pulseaudio-utils-11.1-18.fc28.1.x86_64
>>>
>>> Works fine here.  No escaping needed.  Not that it matters
>>
>> The escaping is a precaution. Your example wouldn't work if you had a
>> filename starting with 'pulse' in the current directory.
> 
> Yeah, but I'm always aware of that possibly. So it's never an issue for me.
> I like less typing 😁

It's your choice to use commands which depend on the state
of your current directory, of course.  But it's a very bad
habit to teach anyone reading this list who may not yet know
the details of shell glob expansion.  There are far better
ways to save two characters in the shell.

When you ask someone to run a command and they don't get the
output you think they should because their current directory
has files matching the unquoted glob, then you haven't saved
them or yourself any typing.

Please, think of the bits! :)

-- 
Todd
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
When we remember we are all mad, the mysteries of life disappear and
life stands explained.
    -- Mark Twain

Attachment: signature.asc
Description: PGP signature

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx/message/Q7TU77W2UBSQ5OZE4KM2GCQD7SCVKW6Q/
[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