port list inactive output expected?
hi list - is the output from 'port list inactive' expected? it appears to list the active port version and revision rather than the inactive one. for example: % port list inactive ruby @ 1.8.6 lang/ruby however: % port installed ruby The following ports are currently installed: ruby @1.8.5_2 ruby @1.8.6_0 (active) so instead, now i use: % port installed | egrep -v '(active)' The following ports are currently installed: ruby @1.8.5_2 cheers, jean-pierre
yes it is, although it might be confusing. to get a list of inactive ports, type port echo inactive Regards, Elias Pipping
On Apr 19, 2007, at 01:09, jeanpierre@gmail.com wrote:
is the output from 'port list inactive' expected? it appears to list the active port version and revision rather than the inactive one.
yes it is, although it might be confusing.
to get a list of inactive ports, type
port echo inactive
port echo that is somewhat odd dont you think
Perhaps. It is, nevertheless, the way that port works. "port list" certainly behaves exactly as documented in "man port": list If no argument is given, display a list of the the latest version of all available ports. If portname(s) are given as arguments, display a list of the latest version of each port. Perhaps it would be clearer if "port list" were called "port latest". But it's not.
On 4/18/07, Ryan Schmidt <ryandesign@macports.org> wrote:
On Apr 19, 2007, at 01:09, jeanpierre@gmail.com wrote:
is the output from 'port list inactive' expected? it appears to list the active port version and revision rather than the inactive one.
yes it is, although it might be confusing.
to get a list of inactive ports, type
port echo inactive
port echo that is somewhat odd dont you think
Perhaps. It is, nevertheless, the way that port works.
words of a realist i didn't think that 'port list inactive' was actually chaining two commands together - i admittedly didn't read the man page and instead opted for 'help' which in the end, didn't do me didn't do me any favours. port echo inactive it is then, thanks for straightening me out on this and next time i'll dig into the man page first. cheers, jean-pierre
participants (3)
-
Elias Pipping
-
jeanpierre@gmail.com
-
Ryan Schmidt