Wanna look through your collected rpms? Do this.
for f in $(find . -name '*.rpm' -type f) ; do
if rpm -qip $f | grep -q 'FINDME' ; then
echo "$f" ;
echo ;
rpm -qip $f ;
echo ++++++++++++++++++++++++++++++++++++++++++++++++++++ ;
fi ;
done | less
This looks through the directory structure under your current
working directory (that's the '.' in the find) for
FINDME, which may be a regular expression.
The trailing semicolons arn't needed, but I wrote it as
a single line.
Karl <[EMAIL PROTECTED]>
_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list