aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Loeser <halcy0n@gentoo.org>2006-05-17 07:18:54 +0000
committerMark Loeser <halcy0n@gentoo.org>2006-05-17 07:18:54 +0000
commit5ff6a780ae4a8d0308204058cc88917cdd763854 (patch)
tree684827bc9d4925a40055d0629a73b52c46e1c1e5 /tools-reference/uniq
parentgtk2 -> gtk (diff)
downloaddevmanual-5ff6a780ae4a8d0308204058cc88917cdd763854.tar.gz
devmanual-5ff6a780ae4a8d0308204058cc88917cdd763854.tar.bz2
devmanual-5ff6a780ae4a8d0308204058cc88917cdd763854.zip
Add the remaining tools-references that were missing
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/devmanual/trunk@42 176d3534-300d-0410-8db8-84e73ed771c3
Diffstat (limited to 'tools-reference/uniq')
-rw-r--r--tools-reference/uniq/text.xml24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools-reference/uniq/text.xml b/tools-reference/uniq/text.xml
new file mode 100644
index 0000000..409fa44
--- /dev/null
+++ b/tools-reference/uniq/text.xml
@@ -0,0 +1,24 @@
+<?xml version="1.0"?>
+<guide self="tools-reference/uniq/">
+<chapter>
+<title>uniq -- Filtering Duplicates</title>
+<body>
+
+<p>
+The <c>uniq</c> utility can be used to filter <b>adjacent</b> duplicate lines in files
+or in the text provided through standard input.
+</p>
+
+<note>
+Instead of using <c>sort | uniq</c>, one should use <c>sort -u</c>.
+</note>
+
+<p>
+See <c>man uniq</c> and <uri
+link="http://www.opengroup.org/onlinepubs/000095399/utilities/uniq">
+IEEE1003.1-2004-uniq</uri> for details.
+</p>
+
+</body>
+</chapter>
+</guide>