Virtual Categories are annoying

Virtual categories are nice, but they are hard to deal with. For starters, there is no simple place to get the description for a virtual category. For a physical category, you can do this:

[dan@polo:~/ports/sysutils] $ make -V COMMENT
System utilities
[dan@polo:~/ports/sysutils] $ grep “System utilities” *
Makefile: COMMENT = System utilities
[dan@polo:~/ports/sysutils] $

But for a virtual category, you have only a file somewhere in the www tree.

Specifically:

http://cvsweb.unixathome.org/cgi-bin/cvsweb.cgi/~checkout~/www/en/ports/categories?content-type=text/plain&cvsroot=freebsd

So now I have to fetch that file, grep for the category, ensure it’s a “VC” on the end of the line, and then go from there. This should be easily done in a perl script.

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive

Leave a Comment

Scroll to Top