]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: fix typo in sort set operations example
authorMartin Castillo <castilma@uni-bremen.de>
Wed, 22 May 2019 13:43:10 +0000 (14:43 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 22 May 2019 13:44:56 +0000 (14:44 +0100)
* doc/coreutils.texi (sort invocation): Add a missing -u
option to uniq.
Addresses https://bugs.gnu.org/35849

doc/coreutils.texi

index c8ca44cdda68319cb7ba3777b5e8c7328df09957..91f2e6d78053f6e842fca69787d856976824ebd8 100644 (file)
@@ -6755,7 +6755,7 @@ perform the equivalent of set operations on files:
 @item @code{sort file1 file2 | uniq -d}
 @tab Intersection of unsorted files
 
-@item @code{sort file1 file1 file2 | uniq}
+@item @code{sort file1 file1 file2 | uniq -u}
 @tab Difference of unsorted files
 
 @item @code{sort file1 file2 | uniq -u}