From owner-freebsd-ports@FreeBSD.ORG Fri Aug 16 05:35:32 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id E375A2D3 for ; Fri, 16 Aug 2013 05:35:32 +0000 (UTC) (envelope-from sergey.dyatko@gmail.com) Received: from mail-ee0-x236.google.com (mail-ee0-x236.google.com [IPv6:2a00:1450:4013:c00::236]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7C4352001 for ; Fri, 16 Aug 2013 05:35:32 +0000 (UTC) Received: by mail-ee0-f54.google.com with SMTP id e53so752970eek.27 for ; Thu, 15 Aug 2013 22:35:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; bh=4ZFE20f1NrcJQJIgOojuBGxMQJbo8ENTtOiOgkahzLg=; b=s/9MVBlX2u9Cr2xCq3kVhiY48p9haTTRe219Jy9JzdcuKc4JJgBURoKNrVw4/YZAsO koAkdY5arNqS9r7b3stViyAuRweK952nIXj08GKTARmP2Zp2wuurNGUDVfztWWcIvtex CxpD9L2fyjsPZ2BMVCrwy8GAP1aL5uJ5YCfkQlOfX6TBF6m5C5LwRLoA2sreNhxHsOE4 uJrM/6LKU0vB50tmaiNppfh7SEN9xr8/yaZndX7wFpnMXD8mXM8lHNY1CSZ9pnlrQYig hBCh1/khFilluK6uyf2bTg37PdBgQUqJBg1dfS3eIdFMq+6AUpBDvZ7YyrecX2xC2qbm 7AWA== X-Received: by 10.15.24.129 with SMTP id j1mr28027044eeu.17.1376631330893; Thu, 15 Aug 2013 22:35:30 -0700 (PDT) Received: from laptop.minsk.domain (m-s.agava.net. [195.222.84.203]) by mx.google.com with ESMTPSA id a1sm4547821eem.1.2013.08.15.22.35.29 for (version=SSLv3 cipher=RC4-SHA bits=128/128); Thu, 15 Aug 2013 22:35:30 -0700 (PDT) Date: Fri, 16 Aug 2013 08:35:31 +0300 From: "Sergey V. Dyatko" To: freebsd-ports@freebsd.org Subject: Re: Searching the port tree with portmaster? Message-ID: <20130816083531.5e70c7ce@laptop.minsk.domain> In-Reply-To: <20130815161241.GG1520@spamcop.net> References: <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com> <20130815161241.GG1520@spamcop.net> X-Mailer: Claws Mail 3.9.2 (GTK+ 2.24.19; amd64-portbld-freebsd10.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 16 Aug 2013 05:35:33 -0000 On Thu, 15 Aug 2013 12:12:41 -0400 Jim Trigg wrote: > On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote: > > On 15 Aug 2013, at 00:56 , Sergey V. Dyatko > > wrote: > > > > > man ports > > > > > /search[enter] > > > > cd /usr/ports && make search name=pear- > > cd /usr/ports && make search name=pear- xname='ht(tp|ml)' > > > > Well, OK. That seems a lot more effort, and loses your current > > directory, but that does work. It's fugly though. > > OK, so "alias search='make -C /usr/ports search'". Then you can, as > needed, "search name=whatever" (or whatever criteria you want to use). > > Jim 2 aliases from my .cshrc: alias search_name "make -C /usr/ports/ search name='\!*' display=name,path,info" alias search_key "make -C /usr/ports/ search key='\!*' display=name,path,info" search_[name|key] smthng -- wbr, tiger