]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: reference shuf(1) from the sort (-R) man page
authorPádraig Brady <P@draigBrady.com>
Sun, 18 Oct 2015 01:48:05 +0000 (02:48 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 18 Oct 2015 23:05:18 +0000 (00:05 +0100)
* man/sort.x: Cross reference with shuf(1).
* src/sort.c (usage): Mention shuf(1) with -R option.
Suggested in http://bugs.debian.org/641166

man/sort.x
src/sort.c

index b0d4a1a3b05aebf69a71476d5b0524bf72eeb5a1..8d8c67dabc1d0728b7d0e3950c5e319ae2efca4f 100644 (file)
@@ -3,4 +3,4 @@ sort \- sort lines of text files
 [DESCRIPTION]
 .\" Add any additional description here
 [SEE ALSO]
-uniq(1)
+shuf(1), uniq(1)
index 9396f46dce3ced88e7464df5c6da9e9f19c47ee6..c772c669b1cadfccb7e6d763377a8232b7573ee2 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\n\
+  -R, --random-sort           sort by random hash of keys.  See also shuf(1)\n\
       --random-source=FILE    get random bytes from FILE\n\
   -r, --reverse               reverse the result of comparisons\n\
 "), stdout);