On Tue, 14 Sep 1999, Fred Frigerio wrote:
> It worked thanks a lot. Do you guys know where I can find more info about
> rpm, besides the man pages?
RPM howto (should be in /usr/doc/HOWTO), and of course www.rpm.org
> I figure there has to be a way to search through
> a series of *.rpm and find the one that has the file one is looking for. Just
> that I coulden't figure it out from the man rpm.
I don't know if there's an easier/better way to do it, but this works:
for i in *rpm; do
if rpm -qpl $i |grep WHAT_YOU_ARE_LOOKING_FOR &>/dev/null; then
echo $i
exit 0
fi
done
echo Not found :/
LLaP
bero