coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] doc: reference shuf(1) from the sort (-R) man page


From: Pádraig Brady
Subject: [PATCH] doc: reference shuf(1) from the sort (-R) man page
Date: Sun, 18 Oct 2015 02:51:36 +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 | 2 +-
 src/sort.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/man/sort.x b/man/sort.x
index b0d4a1a..8d8c67d 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 9396f46..c772c66 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.5.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]