Ahh... now that one did the trick. :-)
[root@vimfuego RPMS]# for i in *.rpm; do
> rpm -qlp $i | grep as86 > /dev/null && echo $i
> done
dev86-0.14.9-1.i386.rpm
Thanks for that, I'll save it!
Cheers,
-- Juha
> -----Original Message-----
> From: Iain Wade [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, 28 November 1999 17:59
> To: [EMAIL PROTECTED]; Juha Saarinen
> Cc: Redhat-List@Redhat. Com
> Subject: Re: As86 missing from RHL 6.1?
>
>
> >for i in *.rpm
> >do
> > echo $i
> > rpm -qpl $i | grep as86
> >done | less
>
>
> Nice idea, but the output is a little rough .. i modified it a little :)
>
> for i in *.rpm; do
> rpm -qlp $i | grep as86 > /dev/null && echo $i
> done
>
> this way it only echo's the package which contains the files ... not all
> files and the grep'd output of each.
>
> Warm Regards,
> --
> Iain Wade - Optus Internet
> Email: [EMAIL PROTECTED]
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.