Bug 31875

Summary: correct port count
Product: Documentation Reporter: Michael W Lucas <mwlucas>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff
none
file.diff
none
portcount3 none

Description Michael W Lucas 2001-11-09 15:50:01 UTC
The count of ports in the Handbook is wrong.  I'm attaching two
patches for consideration: one contains an accurate count, one makes
the problem go away for good.  I prefer the second, but it's an
admission that keeping track of the number of ports in the Handbook is
basically futile so people might not like that.

How-To-Repeat: 
http://www.freebsd.org/cgi/cvsweb.cgi/ports/ , look at the INDEX entry.
Comment 1 Dima Dorfman 2001-11-09 17:21:22 UTC
mwlucas@blackhelicopters.org wrote:
> >Description:
> 
> The count of ports in the Handbook is wrong.

Handbook or FAQ?

> I'm attaching two
> patches for consideration: one contains an accurate count, one makes
> the problem go away for good.  I prefer the second, but it's an
> admission that keeping track of the number of ports in the Handbook is
> basically futile so people might not like that.

Or we can assign the number of ports to an entity, and use that.  In
fact, we already have such an entity: os.numports (see
share/sgml/freebsd.ent).  I think we should use that in the FAQ just
like we do in the Handbook.
Comment 2 Michael W Lucas 2001-11-09 17:37:25 UTC
On Fri, Nov 09, 2001 at 05:21:22PM +0000, Dima Dorfman wrote:
> Or we can assign the number of ports to an entity, and use that.  In
> fact, we already have such an entity: os.numports (see
> share/sgml/freebsd.ent).  I think we should use that in the FAQ just
> like we do in the Handbook.

Absolutely.  Patch attached for the heck of it.

However, os.numports is out of date, we're now over 6,000.  ;)

-- 
Michael Lucas
mwlucas@blackhelicopters.org
http://www.blackhelicopters.org/~mwlucas/
Big Scary Daemons: http://www.oreillynet.com/pub/q/Big_Scary_Daemons
Comment 3 Bruce A. Mah freebsd_committer freebsd_triage 2001-11-10 01:49:01 UTC
State Changed
From-To: open->closed

Committed, thanks!