Re: Re: yum search behaviour change from 3.0.x to 3.2.x
MHR <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
On Tue, May 27, 2008 at 2:19 PM, James Antill <[email protected]> wrote: > > You might think it'd be better to line up the start of the summary, > however this doesn't work well for packages like php-Pear-Str* (in > Fedora). > : > > If you want to rely on the text output, the best way would be to write > a simple application using the yum API as in: > > http://linux.duke.edu/~skvidal/useful-scripts/simple-search.py > > ...as I know we've tweaked the output slightly for both the search and > list commands, since 3.2.8. > I use a bash function to look for packages in yum that looks like 'yum list | grep -i' and then takes one grep argument as its "parameter" (in CentOS 5) - works nicely for my purposes. YMMV. HTH. mhr