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

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.

-- 
Ciaran McCreesh : Gentoo Developer (Vim, Fluxbox, shell tools)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm

Attachment: pgpprOKhMkalR.pgp
Description: PGP signature

Reply via email to