summaryrefslogtreecommitdiffstats
path: root/man/man1/src.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/src.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/src.1')
-rw-r--r--man/man1/src.112
1 files changed, 6 insertions, 6 deletions
diff --git a/man/man1/src.1 b/man/man1/src.1
index 7648602b..8ca39313 100644
--- a/man/man1/src.1
+++ b/man/man1/src.1
@@ -19,11 +19,11 @@ examines the named
to find the corresponding source code, which is then sent to the editor using
.B B
(see
-.MR sam (1) ).
+.MR sam 1 ).
If
.I file
is an
-.MR rc (1)
+.MR rc 1
script, the source is the file itself.
If
.I file
@@ -35,7 +35,7 @@ and
will point the editor at the line that begins the definition.
.I Src
uses
-.MR db (1)
+.MR db 1
to extract the symbol table information that identifies the source.
.PP
.I Src
@@ -78,6 +78,6 @@ src -s strcmp rc
.SH SOURCE
.B \*9/bin/src
.SH "SEE ALSO"
-.MR db (1) ,
-.MR plumb (1) ,
-.MR sam (1) .
+.MR db 1 ,
+.MR plumb 1 ,
+.MR sam 1 .