Deprecating port list

Bradley Giesbrecht brad at pixilla.com
Fri Mar 13 10:46:21 PDT 2009


On Mar 13, 2009, at 9:55 AM, Jeremy Lavergne wrote:

>> bash-3.2# port installed
>> The following ports are currently installed:
>> apache2 @2.2.11_0+darwin_9 (active)
>>
>> bash-3.2# port -q installed
>> The following ports are currently installed:
>> apache2 @2.2.11_0+darwin_9 (active)
>>
>> I would like a means to print non-formated output without messages  
>> like "The following ports are currently installed:".
>
> In the mean time, you can just pipe it through grep:
>
> port installed | grep -v following

Thanks, I've been using "sed '1d'".

My comment is more of general comment for all the commands. I expected  
-q to have an effect on output from port installed.

//Brad


More information about the macports-dev mailing list