docs/70899: freebsd-tips has a wrong tip

Marc Silver marcs at draenor.org
Tue Aug 24 11:20:21 UTC 2004


>Number:         70899
>Category:       docs
>Synopsis:       freebsd-tips has a wrong tip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 11:20:18 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Marc Silver
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD riffraff.plig.net 4.9-STABLE FreeBSD 4.9-STABLE #5: Wed Mar 3 16:21:56 GMT 2004 keet at riffraff.plig.net:/usr/src/sys/compile/RIFFRAFF i386


	
>Description:
	/usr/share/games/fortune/freebsd-tips incorrectly state show to
	search for a port using the Makefile in /usr/ports

	The first example is incorrect because 'make search port='
	doesn't work at all, and the example for 'make search key' has a
	" character in the wrong place...

	
>How-To-Repeat:
	

	cat /usr/share/games/fortune/freebsd-tips | grep "make search"
		"make search port=<port-name>"
	        "make search key="<keyword>"

	cd /usr/ports
	make search port=bash

>Fix:

	
	Apply the following patch:

--- freebsd-tips.old	Tue Aug 24 11:49:47 2004
+++ freebsd-tips	Tue Aug 24 11:50:14 2004
@@ -306,9 +306,9 @@
 Want to find a specific port, just type the following under /usr/ports,
 or one its subdirectories:
 
-	"make search port=<port-name>"
+	"make search name=<port-name>"
     or
-	"make search key="<keyword>"
+	"make search key=<keyword>"
 %
 Want to see how much virtual memory you're using? Just type "swapinfo" to
 be shown information about the usage of your swap partitions.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list