]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: improve the description of sort --random-sort
authorPádraig Brady <P@draigBrady.com>
Tue, 1 Dec 2015 15:01:00 +0000 (15:01 +0000)
committerPádraig Brady <P@draigBrady.com>
Fri, 4 Dec 2015 20:42:17 +0000 (20:42 +0000)
* src/sort.c (usage): Avoid mentioning the implementation,
rather focusing on the result of the operation.

src/sort.c

index 38d817544d45ebc7e0a1a9e84dcaa4f21327e6cf..b1948f20bc00b73e9d0058fce64b2df44b3f9393 100644 (file)
@@ -451,7 +451,7 @@ Ordering options:\n\
 "), stdout);
       fputs (_("\
   -n, --numeric-sort          compare according to string numerical value\n\
-  -R, --random-sort           sort by random hash of keys.  See also shuf(1)\n\
+  -R, --random-sort           shuffle, but group identical keys.  See shuf(1)\n\
       --random-source=FILE    get random bytes from FILE\n\
   -r, --reverse               reverse the result of comparisons\n\
 "), stdout);