]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Improve wording in uniq's --help "Note".
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 19 Dec 2007 09:01:25 +0000 (10:01 +0100)
committerJim Meyering <meyering@redhat.com>
Wed, 19 Dec 2007 09:01:57 +0000 (10:01 +0100)
ChangeLog
src/uniq.c

index e940e635ac784601a997dcc897954b65612aa39a..df016fade2c3f83146cd74b10cf5ee9dcb9fd066 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-12-19  Paul Eggert  <eggert@cs.ucla.edu>
+
+       * src/uniq.c (usage): Improve wording in --help "Note".
+
 2007-12-18  Jim Meyering  <meyering@redhat.com>
 
        * src/uniq.c (usage): Note that sorting uniq's input is often useful.
index b5c92e07890f1e5117bdea43fdf761047b642677..1a54055b3081a47c5a11db116710e7267ff987cc 100644 (file)
@@ -170,10 +170,8 @@ Fields are skipped before chars.\n\
 "), stdout);
      fputs (_("\
 \n\
-Note: while uniq can be useful even with unsorted input, in most applications\n\
-the input is sorted in a manner consistent with key-selection options.\n\
-E.g., use `sort' if `uniq' uses no such option (or simply use `sort -u');\n\
-use `sort -k 3b' with `uniq -f2'.\n\
+Note: 'uniq' does not detect repeated lines unless they are adjacent.\n\
+You may want to sort the input first, or use `sort -u' without `uniq'.\n\
 "), stdout);
       emit_bug_reporting_address ();
     }