there is an operator just for this:  ":U"

$ make -n query
make> X = a b c a b c d e f a c b a z   
make> p $(X:U)
a b c d e f z

On Mon, 17 Aug 2009 20:11:21 +0000 [email protected] wrote:
> How can I remove duplicated token values without sorting?
> If I have duplicated values in an expanded variable, I could remove  
> duplicated values with the heap sort operator ":H<=U".
> But most of case I can not the heap sort operator because the order of  
> token list is important. Are there any other ways to remove duplicated  
> token values without re-ordering?

_______________________________________________
ast-users mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-users

Reply via email to