no bug: suggested doc patch
JT Williams <[email protected]> Fri, 28 Feb 2003 12:29:37 -0600
| Newsgroups | gmane.comp.gnu.textutils.bugs |
|---|---|
| Message-ID | <[email protected]> |
--- textutils.texi.orig 2003-02-28 12:18:56.655077000 -0600
+++ textutils.texi 2003-02-28 12:26:36.432005000 -0600
@@ -2513,7 +2513,30 @@
@opindex -u
@opindex --unique
@cindex unique lines, outputting
-Print only unique lines.
+Print only unique lines, i.e., print only those input lines
+that occur exactly once.
+For example, if the following lines are input
+
+@example
+foo
+foo
+bar
+@end example
+
+@noindent
+then the output of @command{uniq} is
+
+@example
+foo
+bar
+@end example
+
+@noindent
+but the output of @command{uniq -u} is
+
+@example
+bar
+@end example
@item -w @var{n}
@itemx --check-chars=@var{n}