[mdk-re] Re: [mdk-re] ðÒÏ×ÅÒËÁ ÐÁËÅÔÏ
Peter V. Saveliev
=?iso-8859-1?q?peet_=CE=C1_infosite=2Eru?=
ðÔ æÅ× 15 17:07:03 MSK 2002
On Fri, 15 Feb 2002 16:13:05 +0300
"Sergey S. Skulachenko" <sssku ÎÁ online.ru> wrote:
> On Fri, 15 Feb 2002 14:11:36 +0300
> "Peter V. Saveliev" <peet ÎÁ infosite.ru> wrote:
>
> > find /×ÁÛ/ÄÅÐÏÚÉÔÁÒÉÊ -name '*.rpm' -print0 | xargs -0 rpm -qpl
> > >/dev/null
>
> > îÁ ÜËÒÁÎ ×ÙÌÅÚÕÔ ÓÏÏÂÝÅÎÉÑ Ï ÂÉÔÙÈ rpm. ðÏ ËÒÁÊÎÅÊ ÍÅÒÅ, Ñ ÔÁË
> > ÐÒÏ×ÅÒÑÀ.
>
> é, ÄÅÊÓÔ×ÉÔÅÌØÎÏ, ÎÁÈÏÄÉÔÅ? þÔÏ-ÔÏ ÎÅ ×ÅÒÉÔÓÑ.
óÏÒÒÉ, ÌÁÖÁÎÕÌÓÑ, ËÏÎÅÞÎÏ. îÁ ÌÅÔÕ ÐÏÐÙÔÁÌÓÑ ÏÂÏÂÝÉÔØ ;)
úÁÏÄÎÏ ÓÐÁÓÉÂÏ, ÐÏÓËÏÌØËÕ ÏÔÌÏ×ÉÌ ÇÒÁÂÌÀ. ÷ ÏÂÝÅÍ, Ñ ÉÓÐÏÌØÚÏ×ÁÌ
for i in *; do rpm -qpl $i >/dev/null; done,
ÎÁÈÏÄÑÓØ × ÄÉÒÅËÔÏÒÉÉ Ó rpmËÁÍÉ. ðÒÉ ÜÔÏÍ ÐÏÌÁÇÁÌÏÓØ, ÞÔÏ ÏÛÉÂËÉ
ÚÁÐÒÏÓÏ× rpm ÂÕÄÅÔ ×Ù×ÏÄÉÔØ ×Ï ×ÔÏÒÏÊ ÐÏÔÏË. é Ñ ÄÅÊÓÔ×ÉÔÅÌØÎÏ
ÔÁË ÎÁÈÏÄÉÌ ÂÉÔÙÅ ÐÁËÅÔÙ.
÷ÎÉÍÁÔÅÌØÎÏ ÐÏÓÍÏÔÒÅ× ÓÅÊÞÁÓ, ÏËÁÚÁÌÏÓØ, ÞÔÏ ÎÁÄÐÉÓÉ ÔÉÐÁ
[peet ÎÁ perl SRPMS]$ for i in *; do rpm -qpi $i | grep ÏÛÉÂËÁ; done
balabala.src.rpm: ÏÛÉÂËÁ ÞÔÅÎÉÑ ÓÐÉÓËÁ ÆÁÊÌÏ×: Success
index.html: ÏÛÉÂËÁ ÞÔÅÎÉÑ ÓÐÉÓËÁ ÆÁÊÌÏ×: Success
ÉÄÕÔ × ÐÅÒ×ÏÍ ÐÏÔÏËÅ. ðÒÉ ÞÅÍ ÚÄÅÓØ Success, ÐÒÁ×ÄÁ, ÎÅÐÏÎÑÔÎÏ...
íÏÖÅÔ, × rpm ÞÔÏ-ÔÏ ÉÚÍÅÎÉÌÏÓØ? îÏ ×ÓÅ ÒÁ×ÎÏ ÓÐÁÓÉÂÏ.
á ÔÁË, ÅÓÌÉ ÏÂÏÂÝÁÔØ ÎÁ ÔÏÌÓÔÙÊ ÒÅÐÏÚÉÔÁÒÉÊ, ÎÁ×ÅÒÎÏÅ, ÏÔ×ÅÔÏÍ ÂÕÄÅÔ
for i in `find /×ÁÛ/ÒÅÐÏÚÉÔÁÒÉÊ -name '*.rpm' -type f`; do rpm -qpi $i | grep ÏÛÉÂËÁ; done
ðÅÔÒ.
ðÏÄÒÏÂÎÁÑ ÉÎÆÏÒÍÁÃÉÑ Ï ÓÐÉÓËÅ ÒÁÓÓÙÌËÉ community