From owner-freebsd-questions Tue Aug 14 23:25:47 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc21.worldnet.att.net (mtiwmhc21.worldnet.att.net [204.127.131.46]) by hub.freebsd.org (Postfix) with ESMTP id 1A50A37B409 for ; Tue, 14 Aug 2001 23:25:44 -0700 (PDT) (envelope-from parv@worldnet.att.net) Received: from worldnet.att.net ([32.101.235.5]) by mtiwmhc21.worldnet.att.net (InterMail vM.4.01.03.16 201-229-121-116-20010115) with ESMTP id <20010815062543.ZJOE12706.mtiwmhc21.worldnet.att.net@worldnet.att.net> for ; Wed, 15 Aug 2001 06:25:43 +0000 Received: by worldnet.att.net (Postfix, from userid 1001) id A588950D00; Wed, 15 Aug 2001 02:25:41 -0400 (EDT) Date: Wed, 15 Aug 2001 02:25:41 -0400 From: parv To: f-q Subject: make search isn't making any results in ports Message-ID: <20010815022541.A13033@moo.holy.cow> Mail-Followup-To: f-q Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG today and a few days earlier whenever i tried to do make search, i got nothing. in ports & ports/net directories, i tried... # make search key=yahoo ...here is the make -n output w/ "key block" code... # make -n search key=yahoo | perl -pi 's#\;#\n#g' here=`pwd` cd /source/ports top=`pwd` there=`echo "$here/" | sed s%$top%/source/ports%` if [ -n "$key" ] then grep $there /source/ports/INDEX | grep -i "yahoo" | awk -F\| \ '{ printf("Port:\t%s\nPath:\t%s\nInfo:\t%s\nMaint:\t%s\nIndex:\t%s\nB-deps:\t%s\nR-deps:\t%s\n\n", $1, $2, $4, $6, $7, $8, $9) }' elif [ $name ] ... fi ...if i 've read above correctly, when make search is done in /source/ports directory, then "$there" will be '/source/ports/' which of course causes grep/awk to show something for a change. can anybody identify the cause? btw, i just cvsup the ports w/ no success on make search. -- so, do you like word games or scrabble? - parv To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message