On 16/10/17 04:39, Rich Freeman wrote:
> On Sun, Oct 15, 2017 at 11:47 AM, Alan McKinnon <[email protected]> 
> wrote:
>> On 15/10/2017 16:31, Michael Orlitzky wrote:
>>> On 10/14/2017 09:30 PM, Dale wrote:
>>>>
>>>> While at it.  Is there a tool that tells when USE flags in make.conf is
>>>> either no longer used or doesn't even exist anymore?
>>>
>>> I don't know of one. It doesn't *sound* hard, but you would have to
>>> consider local use flags, flags from overlays, USE_EXPAND flags,
>>> wildcards, USE_ORDER, etc. -- so maybe it's actually hard/slow to do it.
>>>
>>> I found this feature request,
>>>
>>>   https://github.com/vaeth/eix/issues/38
>>>
>>> and I guess that confirms that it's harder than it looks. Checking for
>>> nonexistent flags would be easier than checking for redundant flags
>>> because the latter depends on your package manager configuration.
>>>
>>
>> There is a suitable tool. It's called grep, copious use of.
>> A suitably complex solution for the complexity of the problem!
>>
> 
> Or you could just use portpeek...
> 


moriah ~ # euse -i flag
global use flags (searching: flag)
************************************************************
no matching entries found

local use flags (searching: flag)
************************************************************
no matching entries found
moriah ~ #

BillK

Reply via email to