From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 065FA13840B for ; Fri, 11 Jan 2013 22:41:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8D6E321C070; Fri, 11 Jan 2013 22:41:10 +0000 (UTC) Received: from mail-wi0-f175.google.com (mail-wi0-f175.google.com [209.85.212.175]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2793C21C067 for ; Fri, 11 Jan 2013 22:38:59 +0000 (UTC) Received: by mail-wi0-f175.google.com with SMTP id hm11so154137wib.8 for ; Fri, 11 Jan 2013 14:38:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:date:from:to:subject:message-id:in-reply-to:references :organization:x-mailer:mime-version:content-type :content-transfer-encoding; bh=PW/uem6fHeMVKa8Yma2f2XOyiin3qTh5CN2hhrLtjus=; b=Q4bQrjxDQV3kh031VHQNhLjX/McboWpqdWOBqbt4qZP3BiJOLOAfzEe7BWM7n6HsAd 1qtayy2FnbcgufOz2KIMTIIZ8d3xS051V6GUK59OyzvX2uFceSwDURXv/rfQEdCNUE73 0C1ixDg9BmGOEuq58PlB/Wn1yOzM9A+2oFfNuvCiercstTF3ARrufTnVhbJq5CeKY9bD FGadIQp5JBFWS5rjwNvFIyu3U5QsO3oKcN6ISlKuZBokelyDYXE/ti7F91QKrOHYXO5T 667XWMD+uaZ0eHh2UuX+ibk6U0Yaq5Lq/OuR5kaFVXhnbuCyg7Kxvudad6PgWrwW46DP /yBQ== X-Received: by 10.180.72.232 with SMTP id g8mr1358393wiv.0.1357943938854; Fri, 11 Jan 2013 14:38:58 -0800 (PST) Received: from khamul.example.com (196-215-209-88.dynamic.isadsl.co.za. [196.215.209.88]) by mx.google.com with ESMTPS id s10sm1271215wiw.4.2013.01.11.14.38.56 (version=SSLv3 cipher=RC4-SHA bits=128/128); Fri, 11 Jan 2013 14:38:57 -0800 (PST) Date: Sat, 12 Jan 2013 00:38:48 +0200 From: Alan McKinnon To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib Message-ID: <20130112003848.4018c515@khamul.example.com> In-Reply-To: References: <50F073EC.7010701@gmail.com> Organization: Internet Solutions X-Mailer: Claws Mail 3.9.0 (GTK+ 2.24.14; x86_64-pc-linux-gnu) 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-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Archives-Salt: daa2f32d-c544-487a-9cf2-9ad94cebc46c X-Archives-Hash: 293e64c1f8fb2613e8641a63976387ac On Fri, 11 Jan 2013 15:30:54 -0500 James Cloos wrote: > Or, just: > > :; find /var/db/pkg -name CONTENTS | xargs -0 grep -l /usr/lib/udev/ > | awk -F/ '{print "=" $5 "/" $6}' | xargs emerge -pv > > which should be fastest. The original command runs quicker than the time it takes to parse your's by eye :-) I'm asking myself what is more valuable - insanely cheap cpu cycles or this here human's drinking time. And I already know the answer, doubly so as it's a once-off one-liner :-) -- Alan McKinnon alan.mckinnon@gmail.com