Hi,

On Fri, Jul 20, 2012 at 01:54:21AM +0800, jida...@jidanni.org wrote:
> sort(1) doesn't say SEE ALSO uniq(1), and vice versa.

The small attached patch adds that.

Erik
-- 
Golden rule #12: When the comments do not match the code, they probably
                 are both wrong.
                        -- Steven Rostedt
>From 8031b27b75f7f668e3ac4989297ce0a0f7e84e52 Mon Sep 17 00:00:00 2001
From: Erik Auerswald <auers...@unix-ag.uni-kl.de>
Date: Sat, 21 Jul 2012 00:48:17 +0200
Subject: [PATCH] doc: mention uniq(1) in sort(1) man-page and vice versa

* man/sort.x: Add SEE ALSO section with entry uniq(1).
* man/uniq.x: Add sort(1) to SEE ALSO section.
---
 man/sort.x |    2 ++
 man/uniq.x |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/man/sort.x b/man/sort.x
index 5c171dd..b0d4a1a 100644
--- a/man/sort.x
+++ b/man/sort.x
@@ -2,3 +2,5 @@
 sort \- sort lines of text files
 [DESCRIPTION]
 .\" Add any additional description here
+[SEE ALSO]
+uniq(1)
diff --git a/man/uniq.x b/man/uniq.x
index 98a95f9..013cef3 100644
--- a/man/uniq.x
+++ b/man/uniq.x
@@ -3,4 +3,4 @@ uniq \- report or omit repeated lines
 [DESCRIPTION]
 .\" Add any additional description here
 [SEE ALSO]
-comm(1), join(1)
+comm(1), join(1), sort(1)
-- 
1.7.10.4

Reply via email to