[CFT+BRAINSTORM] One USE_ to rule them all

Eitan Adler lists at eitanadler.com
Wed Feb 6 21:53:22 UTC 2013


On 6 February 2013 15:03, Armin Pirkovitsch <sperber at freebsd.org> wrote:
> On 02/06/13 14:26, Eitan Adler wrote:
>> On 6 February 2013 08:21, Baptiste Daroussin <bapt at freebsd.org> wrote:
>>> On Wed, Feb 06, 2013 at 08:13:54AM -0500, Eitan Adler wrote:
>>>> On 6 February 2013 07:41, Frederic Culot <culot at freebsd.org> wrote:
>>>> ...
>>>>
>>>> FEATURES.  It is likely to be easy to grep (as opposed to USE).
>>>>
>>>> --
>>>> Eitan Adler
>>>
>>> What's wrong with grep USE= or grep USE+ ?
>>
>> easier does not mean the alternate is impossible.
>>
>> grep -R FEATURES /usr/ports
>> is slightly easier than
>> grep -ER "USE[+=]" /usr/ports
>>
>> which is also wrong (it loses ${USE} for example).
>
> wouldn't "USES" solve that dilemma?
> And it would grammatically even be correct:
> Port X USES gmake, gettext, whatever...

There are already a number of false positives.   The objection is not
as strong though.

My preference is for a distinct, easily greppable, low false positive, term.


-- 
Eitan Adler


More information about the freebsd-ports mailing list