Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Dec 2002 17:30:42 -0000
From:      "Barry Byrne" <barry.byrne@wbtsystems.com>
To:        "Zhihui Zhang" <zzhang@cs.binghamton.edu>, <freebsd-questions@FreeBSD.ORG>
Subject:   RE: count the number of ports
Message-ID:  <NCBBIAMNAKDKFJIIGNPKIEDBKFAA.barry.byrne@wbtsystems.com>
In-Reply-To: <Pine.SOL.4.21.0212041220100.27350-100000@opal>

next in thread | previous in thread | raw e-mail | index | archive | help
How about:

	wc /usr/ports/INDEX

 - Barry

--
Barry Byrne, IT Manager,
WBT Systems, Block 2, Harcourt Centre
Harcourt Street, Dublin 2, Ireland

> -----Original Message-----
> From: owner-freebsd-questions@FreeBSD.ORG
> [mailto:owner-freebsd-questions@FreeBSD.ORG]On Behalf Of Zhihui Zhang
> Sent: 04 December 2002 17:21
> To: freebsd-questions@FreeBSD.ORG
> Subject: count the number of ports
> 
> 
> 
> 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.
> 
> -Zhihui
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
> 

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?NCBBIAMNAKDKFJIIGNPKIEDBKFAA.barry.byrne>