Questions tagged [unique]

Refers to an element that is distinctly different from any other element in a collection.

Refers to an element that is distinctly different from any other element in a collection.

6072 questions
2
votes
1 answer

Unique/No Duplicated values in Shell Array Linux

I need to make a new array or just delete from the actual array the duplicate elements, #The NTP IPS are the following ones: #10.30.10.0, 10.30.10.0, 10.30.20.0, 10.30.20.0, 10.30.20.0 #!/bin/bash ips_networks=() for ip in ${ips_for_ntp[@]};do …
Ivor
  • 578
  • 1
  • 11
  • 27
2
votes
2 answers

Treat non-consecutive duplicates in a column as unique

Say I have data like this in one column in a Google Sheets: abc abc def def abc abc xyz I want something that will give me an output treating non-consecutive duplicates as unique, i.e.: abc def abc xyz Using =UNIQUE() gives me only one instance…
tdk
  • 342
  • 1
  • 13
2
votes
1 answer

Unique not working in angular.js

This is my code
  • {{ ' Name = ' + (x.name | uppercase) + '     Roll No = ' + x.rollno }}