Bug 117961

Summary: [handbook] [patch] a suggestion for an alternate method to search a port
Product: Documentation Reporter: João Rocha Braga Filho <goffredo>
Component: Books & ArticlesAssignee: Tom Rhodes <trhodes>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description João Rocha Braga Filho 2007-11-10 16:50:01 UTC
Another way to find a port, and I use it a lot.

echo /usr/ports/*/*lsof*

You can add this suggestion to:

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ports-finding-applications.html

"4.3 Finding Your Application"

It is a simple, fast (almost) way to find a port.

Cam be too:

ls /usr/ports/*/*lsof*


Thanks
Comment 1 Marc Silver 2008-01-03 10:27:44 UTC
Hi there,

This method does actually work quite well, and seems to have a
negligible impact on system resources.  I'm not sure it adds any value
to the current page, but does work, so that decision can be made by
someone else...

The only potential problem I see with this is that when it finds
multiple ports matching the expression it lists them all on a single
line, which some users may find confusing.

Cheers,
Marc

-- 
Light up the Darkness.
  - Bob Marley
Comment 2 Chess Griffin 2008-01-25 21:28:46 UTC
This is a multi-part message in MIME format.
Comment 3 dfilter service freebsd_committer freebsd_triage 2008-01-26 09:12:22 UTC
trhodes     2008-01-26 09:12:17 UTC

  FreeBSD doc repository

  Modified files:
    en_US.ISO8859-1/books/handbook/ports chapter.sgml 
  Log:
  Add a quick way to get a list of ports.
  
  PR:             117961
  Submitted by:   Chess Griffin <chess@chessgriffin.com> (original version)
  
  Revision  Changes    Path
  1.270     +9 -0      doc/en_US.ISO8859-1/books/handbook/ports/chapter.sgml
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 4 Tom Rhodes freebsd_committer freebsd_triage 2008-01-26 09:12:24 UTC
State Changed
From-To: open->closed

Patch was a bit mangled, but I merged it into the handbook chapter with 
minor changes.  Thanks for the submission. 


Comment 5 Tom Rhodes freebsd_committer freebsd_triage 2008-01-26 09:12:24 UTC
Responsible Changed
From-To: freebsd-doc->trhodes

Over to me as closer.