Re: Ideas for yum

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

 



At 9:19 AM -0300 5/7/07, Martin Marques wrote:
>Rahul Sundaram wrote:
 ...
>>> 2) Search gives to much information: One line with a brief description
>>> is enough. And it repeats it self: If the same package is in core,
>>> updates and freshrpms I get it three times.
>>
>> Yum list | grep <package> tends to work better if you are searching for
>> the package name instead of the metadata.
>
>Using grep? Shouldn't it be hard coded in yum? Just a thought.

Use globbing per man yum.

Find exact package name:

    yum list package

Find packages starting with:

    yum list package\*

Find packages containing:

    yum list \*package\*

Quotes also work to protect the globs from the shell:

    yum list "*package*"
-- 
____________________________________________________________________
TonyN.:'                       <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '                              <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux