Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Apr 2007 11:40:35 +0100
From:      Alex Zbyslaw <xfb52@dial.pipex.com>
To:        Murray Taylor <MTaylor@bytecraft.com.au>
Cc:        David Stanford <dthomas53@gmail.com>, FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Port for Roller?
Message-ID:  <461E0CA3.2070001@dial.pipex.com>
In-Reply-To: <04E232FDCD9FBE43857F7066CAD3C0F12DF080@svmailmel.bytecraft.internal>
References:  <04E232FDCD9FBE43857F7066CAD3C0F12DF080@svmailmel.bytecraft.internal>

next in thread | previous in thread | raw e-mail | index | archive | help
Murray Taylor wrote:

>cd /usr/ports
>make search key=roller | more
>
>If its there this will find it ... and often much more as well
>depending on the key string used.  grepping for Port: cuts down 
>on the gibbering a bit
>
>  
>
make search name=roller | less

will only look in the name of the port.

I find this (tcsh) alias useful as it strips lots of the cruft:

(chdir /usr/ports; make search name=!:1 | egrep '^Port|^Info|^Path|^$')

The actual alias line is far more hideous to account for the quotes:

alias portname '(chdir /usr/ports; make search name=\!:1 | egrep 
'"'"'^Port|^Info|^Path|^$'"'"')'


and similar for portkey.

--Alex






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