From marcs@riffraff.plig.net  Tue Aug 24 11:18:58 2004
Return-Path: <marcs@riffraff.plig.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id DF47A16A4D0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2004 11:18:58 +0000 (GMT)
Received: from riffraff.plig.net (riffraff.plig.net [195.40.6.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP id AB8C643D1F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2004 11:18:58 +0000 (GMT)
	(envelope-from marcs@riffraff.plig.net)
Received: from localhost (localhost [127.0.0.1])
	by riffraff.plig.net (Postfix) with ESMTP id 97BDCFA31F
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 24 Aug 2004 12:18:57 +0100 (BST)
Received: from riffraff.plig.net ([127.0.0.1])
 by localhost (riffraff.plig.net [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id 44005-01-8 for <FreeBSD-gnats-submit@freebsd.org>;
 Tue, 24 Aug 2004 12:18:57 +0100 (BST)
Received: by riffraff.plig.net (Postfix, from userid 3010)
	id 1D798FA31A; Tue, 24 Aug 2004 12:18:57 +0100 (BST)
Message-Id: <20040824111857.1D798FA31A@riffraff.plig.net>
Date: Tue, 24 Aug 2004 12:18:57 +0100 (BST)
From: Marc Silver <marcs@draenor.org>
Reply-To: Marc Silver <marcs@draenor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: freebsd-tips has a wrong tip
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         70899
>Category:       docs
>Synopsis:       freebsd-tips has a wrong tip
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Aug 24 11:20:18 GMT 2004
>Closed-Date:    Tue Aug 24 11:30:59 GMT 2004
>Last-Modified:  Tue Aug 24 11:30:59 GMT 2004
>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:
State-Changed-From-To: open->closed 
State-Changed-By: blackend 
State-Changed-When: Tue Aug 24 11:30:40 GMT 2004 
State-Changed-Why:  
Fixed.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=70899 
>Unformatted:
