How do I search inside long descriptions

James Berry jberry at macports.org
Tue Jun 19 09:22:02 PDT 2007


On Jun 19, 2007, at 9:17 AM, Emmanuel Hainry wrote:

> Citando Björn Lundin :
>>  				SEARCH="$2"
>>  				PORT_LIST=$(port list long_description:$SEARCH | awk {'print  
>> $1'})	
>>  				for PORT in $PORT_LIST; do
>>  					echo -n .
>>  					port info $PORT

> You should use 'port echo' instead of "port list | awk '{print  
> $1}'". It
> should speed things up.

Or, if you're really just going to turn around and call info on it,  
just use the pseudo-port with info:

	port info long_description:spreadsheet

James


More information about the macports-users mailing list