On Fri, 2005-01-07 at 12:24, Ciaran McCreesh wrote:
> On Fri, 07 Jan 2005 11:39:52 +0800 Ow Mun Heng <[EMAIL PROTECTED]>
> wrote:
> | how does one count the # of packages supported by the current portage?
> | 
> | ls -laR | wc -l definately does not work
> | eupdatedb would work, since it counts down to 0.
> | 
> | There's got to be another way.
> 
> find ./ -name '*.ebuild' | cut -d/ -f 2-3 | uniq | wc -l

I intially thought that wouldn't work since they will return duplicate
packages (eg: diff versions)

I didn't realise that uniq could have sorted that out.

Cool..
8297 packages in portage. _huge_ and all in 1 place. 
> 
> Note that comparisons between Gentoo package counts and that of any
> other distribution is not fair or valid due to the way we don't need to
> do multiple packages for programs built with different options.

-- 
Ow Mun Heng
Gentoo/Linux on DELL D600 1.4Ghz 
98% Microsoft(tm) Free!! 
Neuromancer 13:07:02 up 4:08, 6 users, 
load average: 1.03, 0.95, 0.59 


--
[email protected] mailing list

Reply via email to