binary rpm repos?

Bryan Blackburn blb at macports.org
Mon Mar 9 22:45:34 PDT 2009


On Tue, Mar 10, 2009 at 12:10:15AM -0500, Ryan Schmidt said:
> On Mar 9, 2009, at 21:50, Bradley Giesbrecht wrote:
[...]
>> This isn't a big deal but some people may do something silly like "port 
>> uninstall installed echo p5-*" not knowing that it's going to uninstall 
>> everything.
>> Ok, that was me :) Trying to figure out how to chain port commands.
>
> There is no chain of port commands. You only get one action command, but 
> it can then act on any number of ports. In the above case, the action you 
> asked for is "uninstall", and you asked for it to act on the pseudoport 
> "installed" (which expands to the list of all installed ports), and the 
> nonexistent port "echo", and all ports matching "p5-*".

You can of course 'and' things together, eg, 

$ port echo installed and "p5-*"

to see which p5- ports are installed; echo is a useful command to make sure
you're about to affect the list of ports you really want.  Of course in this
particular instance, 'port installed "p5-*"' is simpler.

Bryan



More information about the macports-users mailing list