RPMS$ for i in * ; do if [ "`rpm -qpl $i | grep SEARCHEDLIB`" ] ; then echo 
`rpm -qpl $i | grep SEARCHEDLIB` found in  $i ; fi ; done

Far from perfect but should do the job...

---
kk1

>This brings up a good point though.  Something I have thought is missing
>for a long time now is a way to ask "what package does _______ come
>from?".  It would be very handy to have a tool that works like locate
>but instead of returning a location on the filesystem returns a package
>that needs to be installed to get a certain file.
>
>Or maybe that exists and I am just ignorant.  :-)
>
>Thots?
>
>b.
>
>
>--
>Brian J. Murrell                              InterLinx Support Services, 
>Inc.
>North Vancouver, B.C.                                             604 983 
>UNIX
>         Platform and Brand Independent UNIX Support - R3.2 - R4 - BSD

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

Reply via email to