[MacPorts] #44493: Support wildcard on versions
MacPorts
noreply at macports.org
Thu Jul 31 04:32:31 PDT 2014
#44493: Support wildcard on versions
------------------------------+--------------------------------
Reporter: ora.et.labora@… | Owner: macports-tickets@…
Type: enhancement | Status: reopened
Priority: Normal | Milestone:
Component: base | Version: 2.3.1
Resolution: | Keywords:
Port: |
------------------------------+--------------------------------
Comment (by ora.et.labora@…):
> This makes no sense to me. You can only uninstall installed ports. One
would never type port uninstall installed and anything. In your sample
code, simply type:
Sorry to disagree, but it makes very much sense to me: I working nowadays
a lot with the `echo` action. For example, to see which versions of gcc
are installed, I'm typing:
{{{
$ port echo installed and gcc\*
}}}
Then I'm starting to refine the select expression to narrow down what I'm
really interested in:
{{{
$ port echo installed and gcc4\*
}}}
Eventually, when happy with my selection, I __only__ exchange the action
to that what I really want to do. In my example above, I just used
`uninstall` as example action. It could be any other action as well, i.e.
{{{
$ port dependents installed and gcc4\*
}}}
I hope that you finally agree that `uninstall installed and ..` makes
sense.
Btw, I regard `port installed` as just another shortcut for `port echo
installed` where I clearly prefer the second variant due to its "subject
verb object" structure. While it makes non sense to remove action
"installed", it would be good to mark this action as "deprecated".
----
> Honestly, that hardly seems useful. One can always uninstall singular
versions by typing the complete name as reported by the port installed
command e.g.
Please re-think this argument again for one moment and please elaborate
why wildcards have been introduced?
--
Ticket URL: <https://trac.macports.org/ticket/44493#comment:7>
MacPorts <http://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list