From owner-freebsd-questions@FreeBSD.ORG Thu Apr 24 04:46:09 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6081D106566B for ; Thu, 24 Apr 2008 04:46:09 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from heka.cenkes.org (heka.cenkes.org [208.79.80.110]) by mx1.freebsd.org (Postfix) with ESMTP id 536B18FC14 for ; Thu, 24 Apr 2008 04:46:09 +0000 (UTC) (envelope-from infofarmer@FreeBSD.org) Received: from amilo.cenkes.org (ppp83-237-169-4.pppoe.mtu-net.ru [83.237.169.4]) (Authenticated sender: sat) by heka.cenkes.org (Postfix) with ESMTPSA id 0BD67242F82E; Thu, 24 Apr 2008 08:46:06 +0400 (MSD) Date: Thu, 24 Apr 2008 08:46:02 +0400 From: Andrew Pantyukhin To: Anselm Strauss Message-ID: <20080424044556.GE1449@amilo.cenkes.org> References: <1104DBED-3685-4C95-BE54-CFC2AFC9E751@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1104DBED-3685-4C95-BE54-CFC2AFC9E751@gmail.com> X-OS: FreeBSD 8.0-CURRENT amd64 User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-questions@freebsd.org Subject: Re: Search for files in not installed ports X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: infofarmer@FreeBSD.org List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Apr 2008 04:46:09 -0000 On Wed, Apr 23, 2008 at 10:10:31PM +0200, Anselm Strauss wrote: > Hi, > > is there an easy way to find the port that will install me a specific file? > So far, I only found the following: > > # find /usr/ports -name pkg-plist | xargs -I {} grep -H 'bin/wish' {} That's the right way to do it, but have a look at portsearch from ports.