Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Feb 2013 06:32:54 +0100
From:      Armin Pirkovitsch <sperber@FreeBSD.org>
To:        lists@eitanadler.com
Cc:        freebsd-ports@freebsd.org
Subject:   Re: [CFT+BRAINSTORM] One USE_ to rule them all
Message-ID:  <51133C86.80303@FreeBSD.org>
In-Reply-To: <CAF6rxgkigsEw39hyKssS-hOz_CbNNjD%2BQJw78aNaNHkzDsyq7A@mail.gmail.com>
References:  <20130204181946.GF67687@ithaqua.etoilebsd.net> <511003B3.90600@gmail.com> <20130205232407.GM88651@ithaqua.etoilebsd.net> <20130206091932.GF1268@ithaqua.etoilebsd.net> <20130206104221.GH1268@ithaqua.etoilebsd.net> <20130206124123.GP57799@culot.org> <CAF6rxg=PTJLz98sODL96GPM6%2Bv-gvWqop0wja0e2iBupNoHmDA@mail.gmail.com> <20130206132101.GI1268@ithaqua.etoilebsd.net> <CAF6rxgmwSY1kA6E%2BkK-f-OMTyadBr%2B2zAqV-cNzvt3O6yix-TQ@mail.gmail.com> <5112B710.9040000@FreeBSD.org> <CAF6rxgkigsEw39hyKssS-hOz_CbNNjD%2BQJw78aNaNHkzDsyq7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/06/13 22:52, Eitan Adler wrote:
> On 6 February 2013 15:03, Armin Pirkovitsch <sperber@freebsd.org> wrote:
>> On 02/06/13 14:26, Eitan Adler wrote:
>>> On 6 February 2013 08:21, Baptiste Daroussin <bapt@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@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.
> 
> 

# find /usr/ports -name Makefile | xargs grep -R FEATURES | wc -l
      82
# find /usr/ports -name Makefile | xargs grep -R USES | wc -l
      20

Sounds to me like there are less false positives for USES.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?51133C86.80303>