Deprecating port list
Neil
kngspook at gmail.com
Sat Mar 14 01:15:49 PDT 2009
On Fri, Mar 13, 2009 at 10:46 AM, Bradley Giesbrecht <brad at pixilla.com>wrote:
>
> 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
>
Why not send "The following ports are currently installed:" to stderr?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-dev/attachments/20090314/a2e04abb/attachment.html>
More information about the macports-dev
mailing list