help-make
[Top][All Lists]
Advanced

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

Find duplicates in a list


From: Sam Ravnborg
Subject: Find duplicates in a list
Date: Sun, 27 Jul 2014 11:58:59 +0200
User-agent: Mutt/1.5.23 (2014-03-12)

Hi all.

I'm trying to find a way to detect duplicate items in a list without
escaping to a shell.

Consider the following:

list := A B C A D C

In the list above A and C is duplicated.
I would like to find a way so I can find which items are duplicated and print 
them out.

The solution should preferably work with gmake 3.81 and even better in make 3.80

Thanks in advance,

        Sam




reply via email to

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