summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tools-reference/uniq/text.rst')
-rw-r--r--tools-reference/uniq/text.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/tools-reference/uniq/text.rst b/tools-reference/uniq/text.rst
new file mode 100644
index 0000000..e2bc402
--- /dev/null
+++ b/tools-reference/uniq/text.rst
@@ -0,0 +1,12 @@
+uniq -- Filtering Duplicates
+============================
+
+The ``uniq`` utility can be used to filter **adjacent** duplicate lines in files
+or in the text provided through standard input.
+
+.. Note:: Instead of using ``sort | uniq``, one should use ``sort -u``.
+
+See `uniq-1`_ and `IEEE1003.1-2004-uniq`_ for details.
+
+.. vim: set ft=glep tw=80 sw=4 et spell spelllang=en : ..
+