Gentoo Archives: gentoo-user

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib
Date: Fri, 11 Jan 2013 22:41:35
Message-Id: 20130112003848.4018c515@khamul.example.com
In Reply to: Re: [gentoo-user] Re: udev-197 moves from /usr/lib to /lib by James Cloos
1 On Fri, 11 Jan 2013 15:30:54 -0500
2 James Cloos <cloos@×××××××.com> wrote:
3
4 > Or, just:
5 >
6 > :; find /var/db/pkg -name CONTENTS | xargs -0 grep -l /usr/lib/udev/
7 > | awk -F/ '{print "=" $5 "/" $6}' | xargs emerge -pv
8 >
9 > which should be fastest.
10
11 The original command runs quicker than the time it takes to parse
12 your's by eye :-)
13
14 I'm asking myself what is more valuable - insanely cheap cpu cycles or
15 this here human's drinking time. And I already know the answer, doubly
16 so as it's a once-off one-liner :-)
17
18 --
19 Alan McKinnon
20 alan.mckinnon@×××××.com