From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QwLRj-00025f-68 for garchives@archives.gentoo.org; Wed, 24 Aug 2011 21:57:18 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E797921C4DD; Wed, 24 Aug 2011 21:56:56 +0000 (UTC) Received: from mailout-de.gmx.net (mailout-de.gmx.net [213.165.64.22]) by pigeon.gentoo.org (Postfix) with SMTP id D473421C4D0 for ; Wed, 24 Aug 2011 21:55:18 +0000 (UTC) Received: (qmail invoked by alias); 24 Aug 2011 21:55:17 -0000 Received: from p5B0847E4.dip.t-dialin.net (EHLO pc.localnet) [91.8.71.228] by mail.gmx.net (mp052) with SMTP; 24 Aug 2011 23:55:17 +0200 X-Authenticated: #13997268 X-Provags-ID: V01U2FsdGVkX1/Gpv99qFPGks2aLax8pCI36TIP2yXckToCzLh/sM 0rp9uLTVHEKuJQ From: Michael Schreckenbauer To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Plasma-runtime compilation problems Date: Wed, 24 Aug 2011 23:55:18 +0200 Message-ID: <2603187.uJe9dxqMek@pc> User-Agent: KMail/4.7.0 (Linux/2.6.38-gentoo; KDE/4.7.0; x86_64; ; ) In-Reply-To: <1566742.sbbejHjnHW@pc> References: <1312947259.12939.4.camel@laptop.limeyworld> <3527996.D1Z9rZX3YL@weird> <1566742.sbbejHjnHW@pc> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" X-Y-GMX-Trusted: 0 X-Archives-Salt: X-Archives-Hash: 16c14ce5bc81d332a7d6ed29804654cb Am Mittwoch, 24. August 2011, 23:43:09 schrieb Michael Schreckenbauer: > Am Mittwoch, 24. August 2011, 23:27:46 schrieb Alex Schuster: > > wonko@weird ~ $ grep -r /usr/include/plasma/service.h /var/db/pkg/ > > /var/db/pkg/kde-base/kdelibs-4.7.0-r1/CONTENTS:obj > > /usr/include/plasma/service.h e9ddea9052c900f1f87c57025a0f36f0 > > 1308840546 > > > > Emulating qfile as a shell function for nicer output: > > > > wonko@weird ~ $ myqfile() > > > > > { > > > > > > grep -r "$1" /var/db/pkg | sed 's#/CONTENTS:.*##g' > > > > > > } > > > > wonko@weird ~ $ myqfile /usr/include/plasma/service.h > > /var/db/pkg/kde-base/kdelibs-4.7.0-r1 > > I would use find and grep -H instead of grep -r > > On my system your version greps in > ~ $ find /var/db/pkg | wc -l > 33791 Silly me... Your version greps in ~ $ find /var/db/pkg -type f| wc -l 32527 files. Michael