diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-18 02:48:05 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-19 00:05:18 +0100 |
commit | e50f5273aad88b16704fdc8b7fe6aef40c3031e1 (patch) | |
tree | 77be6fbd8bce8da5946d586fe60ba002ae5d8aa2 | |
parent | 8802eb16e690266908f3267587b2ee9634c0c804 (diff) | |
download | coreutils-e50f5273aad88b16704fdc8b7fe6aef40c3031e1.tar.xz |
doc: reference shuf(1) from the sort (-R) man page
* 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
-rw-r--r-- | man/sort.x | 2 | ||||
-rw-r--r-- | src/sort.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/man/sort.x b/man/sort.x index b0d4a1a3b..8d8c67dab 100644 --- a/man/sort.x +++ b/man/sort.x @@ -3,4 +3,4 @@ sort \- sort lines of text files [DESCRIPTION] .\" Add any additional description here [SEE ALSO] -uniq(1) +shuf(1), uniq(1) diff --git a/src/sort.c b/src/sort.c index 9396f46dc..c772c669b 100644 --- a/src/sort.c +++ b/src/sort.c @@ -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); |