Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Aug 2013 22:26:47 +0200
From:      Lars Engels <lars.engels@0x20.net>
To:        "Sergey V. Dyatko" <sergey.dyatko@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: Searching the port tree with portmaster?
Message-ID:  <20130818202647.GG60543@e-new.0x20.net>
In-Reply-To: <20130816083531.5e70c7ce@laptop.minsk.domain>
References:  <F190CCA1-DF98-4EEA-8C14-E5AC3BC86AF0@kreme.com> <CA%2BtpaK1QS=dhgkWsJCq2nM8%2BgPbMTO4jXxoRSK5yorDJCMXHmQ@mail.gmail.com> <090F0843-3C20-4B32-8670-C990FA4579BA@kreme.com> <20130815161241.GG1520@spamcop.net> <20130816083531.5e70c7ce@laptop.minsk.domain>

next in thread | previous in thread | raw e-mail | index | archive | help

--p7qwJlK53pWzbayA
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Aug 16, 2013 at 08:35:31AM +0300, Sergey V. Dyatko wrote:
> On Thu, 15 Aug 2013 12:12:41 -0400
> Jim Trigg <jtrigg@spamcop.net> wrote:
>=20
> > On Thu, Aug 15, 2013 at 09:45:30AM -0600, LuKreme wrote:
> > > On 15 Aug 2013, at 00:56 , Sergey V. Dyatko
> > > <sergey.dyatko@gmail.com> wrote:
> > >=20
> > > > man ports
> > >=20
> > > > /search[enter]
> > >=20
> > > cd /usr/ports && make search name=3Dpear-=20
> > > cd /usr/ports && make search name=3Dpear- xname=3D'ht(tp|ml)'
> > >=20
> > > Well, OK. That seems a lot more effort, and loses your current
> > > directory, but that does work. It's fugly though.
> >=20
> > OK, so "alias search=3D'make -C /usr/ports search'".  Then you can, as
> > needed, "search name=3Dwhatever" (or whatever criteria you want to use).
> >=20
> > Jim
>=20
> 2 aliases from my .cshrc:
>=20
> alias search_name    "make -C /usr/ports/
> search name=3D'\!*' display=3Dname,path,info"=20
>=20
> alias search_key    "make -C /usr/ports/ search key=3D'\!*'
> display=3Dname,path,info"

There's the "quicksearch" target which does exactly display name, path
and info.

>=20
> search_[name|key] smthng
>=20


--p7qwJlK53pWzbayA
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (FreeBSD)

iEYEARECAAYFAlIRLgcACgkQKc512sD3afi8TwCgjgKJILeoU1lmnY1/p+hfIMk+
t60AoKMhJL/MZbSUFCYCGfKDvF5TScLS
=qZ6E
-----END PGP SIGNATURE-----

--p7qwJlK53pWzbayA--



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