From: Pádraig Brady
Date: Sun, 18 Oct 2015 01:48:05 +0000 (+0100) Subject: doc: reference shuf(1) from the sort (-R) man page X-Git-Tag: v8.25~119 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e50f5273aad88b16704fdc8b7fe6aef40c3031e1;p=thirdparty%2Fcoreutils.git 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 --- diff --git a/man/sort.x b/man/sort.x index b0d4a1a3b0..8d8c67dabc 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 9396f46dce..c772c669b1 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);