help-make
[Top][All Lists]
Advanced

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

Re: unique list


From: bhaskar . g
Subject: Re: unique list
Date: Mon, 11 Mar 2002 10:04:38 +0100

Hi,

You can use the sort function if you  are not bothered about the order. because 
this sorts the list and removes the duplicate entries
as well.

regards
bhaskar


                                                                                
                                                  
                    Maciej Walezak                                              
                                                  
                    <address@hidden           To:  address@hidden               
                                          
                    -tech.net>                     cc:  (bcc: Bhaskar 
G/BTC/SC/PHILIPS)                                           
                    Sent by:                       Subject:  unique list        
                                                  
                    address@hidden                                              
                                            
                    org                            Classification:              
                                                  
                                                                                
                                                  
                                                                                
                                                  
                    11-03-2002 10:02                                            
                                                  
                    Please respond to                                           
                                                  
                    help-make                                                   
                                                  
                                                                                
                                                  
                                                                                
                                                  






Hello there,

I have a list definitions:
dir1 = ../one
dir2 = ../two
dir3 = ../two

It may happen that some variables point to the same directory

Now I would like to have a single list
dirs = $(dir1) $(dir2) $(dir3)

but I need this list to be unique i.e. I need dirs to be: ../one ../two

Has anybody any idea how to do this? Of course dir* definitions can be changed 
any time and dirs shoudl be always correct.

thanks
--
Maciej Walezak
-GDN-

_______________________________________________
Help-make mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/help-make







reply via email to

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