help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to take union or intersection of two variables?


From: David Boyce
Subject: Re: How to take union or intersection of two variables?
Date: Thu, 31 Dec 2009 11:51:33 -0500

On Thu, Dec 31, 2009 at 10:14 AM, Peng Yu <address@hidden> wrote:
> On Wed, Dec 30, 2009 at 5:50 PM, Sam Ravnborg <address@hidden> wrote:
>> union = $(sort $(A) $(B))
>> intersection = $(filter $(A), $(B))
>>
>> I did not test this but I think this works.
>
> 'union' works, but 'intersection' should be
>
> intersection= $(filter $(A), $(B))

Umm ... assuming there are no non-printing characters in use, this is
absolutely identical to what Sam posted.

-David Boyce




reply via email to

[Prev in Thread] Current Thread [Next in Thread]