Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Dec 2005 10:06:11 -0800
From:      Kent Stewart <kstewart@owt.com>
To:        vd@datamax.bg
Cc:        freebsd-ports@freebsd.org
Subject:   Re: portsearch: how to display search results
Message-ID:  <200512221006.12111.kstewart@owt.com>
In-Reply-To: <200512220849.42549.ringworm01@gmail.com>
References:  <20051222164021.GA30104@qlovarnika.bg.datamax> <200512220849.42549.ringworm01@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday 22 December 2005 08:49 am, Michael C. Shultz wrote:
> On Thursday 22 December 2005 08:40, Vasil Dimov wrote:
> > Hi all,
> >
> > I am working on a tool that will allow easy (portsearch -f
> > something) and fast (less than a few seconds) to search for ports
> > that install some file.

There already is a tool called portsearch in=20

/usr/ports/Tools/scripts/README.portsearch
/usr/ports/Tools/scripts/portsearch

You should probably use a different name. I use portsearch instead of=20
"make search" because it does a better job of formating the output. It=20
also lets you do things like
portsearch -n ^apr
which requires that the port begin with the letters "apr".

I add it to my .cshrc as
alias search    'portsearch -n $1'

Kent

=2D-=20
Kent Stewart
Richland, WA

"Nunca te acostar=E1s sin saber una cosa m=E1s"
http://users.owt.com/kstewart/index.html



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