bugmake - Bugs: bug #16928, Request for unique() function

 
 

bug #16928: Request for unique() function

Submitter:  None
Submitted:  Fri 23 Jun 2006 07:49:42 PM UTC
   
 
Severity:  3 - Normal Item Group:  Enhancement
Status:  None Privacy:  Public
Assigned to:  None Open/Closed:  Open
Component Version:  None Operating System:  Any
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 02 May 2014 09:17:03 PM UTC, comment #1: 

Have you seen the uniq function from the make standard library?


uniq = $(if $1,$(firstword $1) $(call uniq,$(filter-out $(firstword $1),$1)))


Robert Bogomip <bobbogo>
Fri 23 Jun 2006 07:49:42 PM UTC, original submission:  

The sort function both sorts and remove duplicates a list of words. These two behaviors should be decoupled into two separate functions - a sort() that only sorts leaving duplicates, and a unique() that only removes duplicates but does not sort.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bobbogo (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code