Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 12:18:57 +0100 (BST)
From:      Marc Silver <marcs@draenor.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/70899: freebsd-tips has a wrong tip
Message-ID:  <20040824111857.1D798FA31A@riffraff.plig.net>
Resent-Message-ID: <200408241120.i7OBKJJP085307@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040824111857.1D798FA31A>