Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Neil Bothwick
On Tue, 16 Nov 2010 19:18:23 -0800, Grant wrote: find / -exec qfile -o  '{}' \; Thanks Willie, that gave me a great list. Very cool command. Almost all the orphaned stuff in /usr/lib/perl5 is either in: /usr/lib/perl5/site_perl/5.12.2 with corresponding but not orphaned contents in:

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Joerg Schilling
Willie Wong ww...@math.princeton.edu wrote: So to go through your system looking for all orphaned files, you do something like find / -exec qfile -o '{}' \; ... which will produce a load of output that you don't want. So best This is why find -exec + exists since 20 years. Jörg --

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Sebastian Beßler
Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years. Could you enlighten me about this? I look into man find but it says nothing about -exec + or a + operator at all. Also adding + to the command doesn't work either. Greetings Sebastian Beßler

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Albert Hopkins
On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years. Could you enlighten me about this? I look into man find but it says nothing about -exec + or a + operator at all. Also adding + to the

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Sebastian Beßler
Am 17.11.2010 13:54, schrieb Albert Hopkins: On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years. Could you enlighten me about this? I look into man find but it says nothing about -exec + or

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Albert Hopkins
On Wed, 2010-11-17 at 14:13 +0100, Sebastian Beßler wrote: Am 17.11.2010 13:54, schrieb Albert Hopkins: On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years. Could you enlighten me about

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Stroller
On 17/11/2010, at 1:13pm, Sebastian Beßler wrote: This is why find -exec + exists since 20 years. Could you enlighten me about this? I look into man find but it says nothing about -exec + or a + operator at all. Also adding + to the command doesn't work either. Which man page are you

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Stroller
On 17/11/2010, at 12:58am, Grant wrote: I was having trouble getting g-cpan to work with a Bundle of CPAN perl modules and I got frustrated and started to install it with perl -MCPAN -e instead. The state of g-cpan really is a shame. :( When I bought a lottery ticket the other week, I

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread John Campbell
On 11/17/2010 05:13 AM, Sebastian Beßler wrote: Am 17.11.2010 13:54, schrieb Albert Hopkins: On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years. Could you enlighten me about this? I look

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Sebastian Beßler
Am 17.11.2010 23:14, schrieb John Campbell: On 11/17/2010 05:13 AM, Sebastian Beßler wrote: Am 17.11.2010 13:54, schrieb Albert Hopkins: On Wed, 2010-11-17 at 13:52 +0100, Sebastian Beßler wrote: Am 17.11.2010 10:19, schrieb Joerg Schilling: This is why find -exec + exists since 20 years.

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Adam Carter
I wasnt familiar with + but it changes the default behavior of this; find /path -name something -exec ls -lS {} \; which will run ls -lS once for each file, and therefore Sort doesnt work as its only sorting a single file find /patch -name something -exec -ls -lS + which runs ls -lS once against

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Alan McKinnon
Apparently, though unproven, at 00:49 on Thursday 18 November 2010, Adam Carter did opine thusly: I wasnt familiar with + but it changes the default behavior of this; find /path -name something -exec ls -lS {} \; which will run ls -lS once for each file, and therefore Sort doesnt work as its

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Adam Carter
find /patch -name something -exec -ls -lS + which runs ls -lS once against all the files that find finds (added as additional arguments), and therefore Sort works. Almost right. -exec + will not append all filenames found and run one command, it will append the maximum number of

Re: [gentoo-user] Crufted with perl modules?

2010-11-17 Thread Alan McKinnon
Apparently, though unproven, at 01:03 on Thursday 18 November 2010, Adam Carter did opine thusly: find /patch -name something -exec -ls -lS + which runs ls -lS once against all the files that find finds (added as additional arguments), and therefore Sort works. Almost right.

[gentoo-user] Crufted with perl modules?

2010-11-16 Thread Grant
I was having trouble getting g-cpan to work with a Bundle of CPAN perl modules and I got frustrated and started to install it with perl -MCPAN -e instead. After a little while I thought better of it and exited the installation, but should I now have perl modules spread across my filesystem that

Re: [gentoo-user] Crufted with perl modules?

2010-11-16 Thread Adam Carter
but should I now have perl modules spread across my filesystem that aren't known by portage? Is there any way to clean them up? Would installing the same Bundle with g-cpan be guaranteed to straighten everything out? qfile -orphans ?

Re: [gentoo-user] Crufted with perl modules?

2010-11-16 Thread Grant
but should I now have perl modules spread across my filesystem that aren't known by portage?  Is there any way to clean them up?  Would installing the same Bundle with g-cpan be guaranteed to straighten everything out? qfile -orphans ? That sounds promising but I get: # qfile --orphans

Re: [gentoo-user] Crufted with perl modules?

2010-11-16 Thread Willie Wong
On Tue, Nov 16, 2010 at 05:42:24PM -0800, Grant wrote: qfile -orphans ? That sounds promising but I get: # qfile --orphans Usage: qfile opts filename : list all pkgs owning files qfile --orphans needs to take input a filename. So to go through your system looking for all orphaned

Re: [gentoo-user] Crufted with perl modules?

2010-11-16 Thread Grant
qfile -orphans ? That sounds promising but I get: # qfile --orphans Usage: qfile opts filename : list all pkgs owning files qfile --orphans needs to take input a filename. So to go through your system looking for all orphaned files, you do something like find / -exec qfile -o  '{}'