Faster,
search description
cut -d'|' -f4 /usr/ports/INDEX
pipe it if needed

archivers with pkg name  starting with an a
cut -d'|' -f2,4 /usr/ports/INDEX | grep archivers/a

same, add the current ports stem and version
cut -d'|' -f1,2,4 /usr/ports/INDEX | grep archivers/a

Rem: which installed ports are newer in the ports tree
/usr/ports/infrastructure/build/out-of-date -q

/usr/ports/infrastructure has other goodies.





Rod Whitworth wrote:
On Sun, 9 Nov 2008 17:14:02 -0800, Marcel Dan wrote:

What are the best commands and scripts to browse the ports collection from
the command line?


Try this:
cd to /usr/ports
make readmes
(wait for a longish time, ignore errors)
lynx .
--- then:
arrow down to README.html
Follow the links from there ....

Good enough for you?

All payments for good advice should go to
http://openbsd.org/donations.html



*** NOTE *** Please DO NOT CC me. I <am> subscribed to the list.
Mail to the sender address that does not originate at the list server is 
tarpitted. The reply-to: address is provided for those who feel compelled to 
reply off list. Thankyou.

Rod/
/earth: write failed, file system is full
cp: /earth/creatures: No space left on device

Reply via email to