Deprecating port list

Rainer Müller raimue at macports.org
Thu Mar 12 11:53:48 PDT 2009


Andre Stechert wrote:
> ***a student becomes enlightened***
> 
> I previously thought "port echo" was just a loopback/diagnostic
> because if I do "port echo asdfjk" I get "asdfjk".

True.

'port echo' simply expands the list you give to the command. If you
would run
  port install asdfjk
it would search for a port "asdfjk". This is also what
  port echo asdfjk
tells you.

But if you are going to run
  port install '*abc*'
you don't know to which ports this would expand.
  port echo '*abc*'
gives you the expanded list.

So it is really some kind of diagnostic tool. Should 'port echo' also
verify the expanded list?

Rainer


More information about the macports-dev mailing list