Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Dec 2002 18:56:56 +0100
From:      Marc Perisa <perisa@porsche.de>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: count the number of ports
Message-ID:  <3DEE41E8.5020508@porsche.de>
References:  <Pine.SOL.4.21.0212041220100.27350-100000@opal>

next in thread | previous in thread | raw e-mail | index | archive | help
Zhihui Zhang wrote:
> Is there a way to count the number of ports in a FreeBSD release? I guess
> this boils down to how to parse the file /usr/ports/INDEX easily.  
> Thanks.
> 

  wc -l /usr/ports/INDEX



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3DEE41E8.5020508>