I have an xml file which lists JAR file names in it with space specified as a 
delimiter. There are duplications of JAR files name in the file and I was 
wondering if there is a way to some how get ride of the duplication, to get a 
file which has a unique set of JAR file names?

 

Example of file:

temp.xml:

antlr-2.7.6.jar antlr-2.7.6.jar antlr-2.7.6.jar aopalliance-1.0.jar 
aopalliance-1.0.jar aopalliance-1.0.jar commons-validator-1.0.2.jar 
commons-validator-1.0.2.jar commons-lang-2.2.jar commons-lang-2.2.jar

 

Usman Chaudhri

 

Reply via email to