James R. Van Zandt wrote:
> Since tac and rev both reverse files, but in different senses, I
> suggest that the tac manpage should refer to rev. (Also vice-versa,
> but I'll suggest that in a different bug). I propose the attached patch.
...
> --- man/tac.x.orig 2010-02-06 20:59:17.000000000 -0500
> +++ man/tac.x 2010-02-06 21:05:07.000000000 -0500
> @@ -2,3 +2,5 @@
> tac \- concatenate and print files in reverse
> [DESCRIPTION]
> .\" Add any additional description here
> +[SEE ALSO]
> +\fBrev\fP(1).
Thanks. Applied upstream.
Next time you write a patch like that, please consider
following the contribution guidelines in:
http://git.sv.gnu.org/cgit/coreutils.git/plain/HACKING
and send it directly upstream.
>From 8d89b81e9b48c7e322889f8bd89fce8dd82f5e82 Mon Sep 17 00:00:00 2001
From: James R. Van Zandt <[email protected]>
Date: Sun, 7 Feb 2010 16:36:13 +0100
Subject: [PATCH] doc: add a cross reference from tac's man page to "rev"
* man/tac.x: See also "rev".
---
man/tac.x | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/man/tac.x b/man/tac.x
index d943afa..7d3821c 100644
--- a/man/tac.x
+++ b/man/tac.x
@@ -2,3 +2,5 @@
tac \- concatenate and print files in reverse
[DESCRIPTION]
.\" Add any additional description here
+[SEE ALSO]
+\fBrev\fP(1).
--
1.7.0.rc1.214.gd5f8a
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]