summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2007-12-19 10:01:25 +0100
committerJim Meyering <meyering@redhat.com>2007-12-19 10:01:57 +0100
commit875e96efab820c5c0d240375d85d6c45b36ef3f2 (patch)
treea7cb625ec860ccbb9e0cfe5248cffc40ffdef9a7 /src
parentbbc55e488dae92938772f2c523f81f427ad66f9e (diff)
downloadcoreutils-875e96efab820c5c0d240375d85d6c45b36ef3f2.tar.xz
Improve wording in uniq's --help "Note".
Diffstat (limited to 'src')
-rw-r--r--src/uniq.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/uniq.c b/src/uniq.c
index b5c92e078..1a54055b3 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 ();
}