summaryrefslogtreecommitdiffstats
path: root/man/man1/diff.1
diff options
context:
space:
mode:
authorDmitri Vereshchagin <dmitri.vereshchagin@gmail.com>2024-01-31 20:47:13 +0300
committerDan Cross <crossd@gmail.com>2025-07-27 09:58:50 -0400
commit10564b11755ff2d48d0f5073c46571e806fa6fb4 (patch)
tree229252742051d83558fff2352642d0f57ba66615 /man/man1/diff.1
parent00446db7d8fdb3ea56fa104643b34823960f7be2 (diff)
downloadplan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.tar.gz
plan9port-10564b11755ff2d48d0f5073c46571e806fa6fb4.zip
tmac/tmac.an: define .MR in a groff compatible way
groff 1.23.0 added .MR to its -man macro package. The NEWS file states that the inclusion of the macro "was prompted by its introduction to Plan 9 from User Space's troff in August 2020." From d32deab it seems that the name for Plan 9 from User Space's implementation was suggested by groff maintainer G. Brandon Robinson. Not sure if the intention was to make these definitions compatible, but it would be nice if they were. Currently, Plan 9 from User Space's .MR expects its second argument to be parenthesized. groff's .MR does not. This results in extra parentheses appearing in manual references when viewing Plan 9 from User Space's manual pages on a system using groff.
Diffstat (limited to 'man/man1/diff.1')
-rw-r--r--man/man1/diff.18
1 files changed, 4 insertions, 4 deletions
diff --git a/man/man1/diff.1 b/man/man1/diff.1
index c92f45ef..f8b16d4b 100644
--- a/man/man1/diff.1
+++ b/man/man1/diff.1
@@ -19,7 +19,7 @@ two directories are compared by the method of
.I diff
for text
files and
-.MR cmp (1)
+.MR cmp 1
otherwise.
If more than two file names are given, then each argument is compared
to the last argument as above.
@@ -140,9 +140,9 @@ differences.
.SH SOURCE
.B \*9/src/cmd/diff
.SH "SEE ALSO"
-.MR cmp (1) ,
-.MR comm (1) ,
-.MR ed (1)
+.MR cmp 1 ,
+.MR comm 1 ,
+.MR ed 1
.SH DIAGNOSTICS
Exit status is the empty string
for no differences,