From e50f5273aad88b16704fdc8b7fe6aef40c3031e1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?P=C3=A1draig=20Brady?=
Date: Sun, 18 Oct 2015 02:48:05 +0100 Subject: [PATCH] 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 --- man/sort.x | 2 +- 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); -- 2.11.4.GIT