Ryan Schmidt writes:

> On Aug 8, 2014, at 10:59 PM, Ryan Schmidt wrote:
>
>> port echo name:^p5- and maintainer:nomaintainer
>> 
>> How would you produce that list if "nomaintainer" and "openmaintainer" were 
>> combined into a single value?
>
> Thinking about it a bit more, I guess the answer is that it is a regular 
> expression search so I could just anchor it to the beginning and end.
>
> Ports I am the only maintainer of:
>
>
> $ port echo maintainer:^ryandesign$|wc -l
>      357
>
>
> Ports I maintain with others or openly:
>
>
> $ port echo maintainer:ryandesign|wc -l
>      908

:-)

In general, these kinds of problems are a matter of implementation, not
design. For instance, we could augment this language to have finer grain
search operators:

$ port echo maintainer:(ryandesign and not openmaintainer)
_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to