Описание тега uniq
NoneUniq is a Unix/POSIX/Linux utility to remove or filter duplicate lines from a sorted file. It is also the name of a method to remove duplicates from an array in Ruby.
uniq
is a Unix/POSIX/Linux utility to remove or filter duplicate lines from a sorted file. It is typically applied to the output of sort
.
In Ruby ruby, uniq
is a method of the Array
class to remove duplicates from an array. uniq
creates a new array whereas uniq!
modifies the array in place.
For questions about unique identifiers, keys, names, etc., see unique or more specific tags such as unique-constraint, unique-index, unique-key, unique-ptr, etc.
Documentation
- POSIX.1-2008
- GNU coreutils (used on Linux, Cygwin)
- FreeBSD
- BusyBox