On Fri, Mar 13, 2009 at 10:46 AM, Bradley Giesbrecht <[email protected]>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?
_______________________________________________ macports-dev mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-dev
