From: Paul Eggert Date: Wed, 19 Dec 2007 09:01:25 +0000 (+0100) Subject: Improve wording in uniq's --help "Note". X-Git-Tag: v6.9.92~23 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=875e96efab820c5c0d240375d85d6c45b36ef3f2;p=thirdparty%2Fcoreutils.git Improve wording in uniq's --help "Note". --- diff --git a/ChangeLog b/ChangeLog index e940e635ac..df016fade2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2007-12-19 Paul Eggert + + * src/uniq.c (usage): Improve wording in --help "Note". + 2007-12-18 Jim Meyering * src/uniq.c (usage): Note that sorting uniq's input is often useful. diff --git a/src/uniq.c b/src/uniq.c index b5c92e0789..1a54055b30 100644 --- a/src/uniq.c +++ b/src/uniq.c @@ -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 (); }