Hi Branden, On 2023-08-14 02:14, G. Branden Robinson wrote: > Clean up in preparation for "MR sed". > > Format only one man page cross reference per input line. > > Also, groff 1.23.0's (and Plan 9 from User Space's) `MR` is not a font > style alternation macro; there is no "reversed" form as with `BR` and > `RB`. So when a man page cross reference must be immediately preceded > by punctuation, put that punctuation on the previous text line and use > the `\c` escape sequence to connect them. > > Signed-off-by: "G. Branden Robinson" <g.branden.robinson@xxxxxxxxx> > --- > > v3: Resubmitted; no change to part 1/2. > > man2/eventfd.2 | 4 +++- > man2/open.2 | 9 +++++++-- > man2/perf_event_open.2 | 7 ++++++- > man2/signalfd.2 | 4 +++- > man2/timerfd_create.2 | 4 +++- > man5/proc.5 | 4 +++- > man7/credentials.7 | 15 ++++++++++----- > man7/pty.7 | 5 ++++- > man7/spufs.7 | 6 +++++- > 9 files changed, 44 insertions(+), 14 deletions(-) > > diff --git a/man2/eventfd.2 b/man2/eventfd.2 [...] > diff --git a/man2/open.2 b/man2/open.2 [...] > --- a/man2/perf_event_open.2 > +++ b/man2/perf_event_open.2 > @@ -32,7 +32,12 @@ .SH DESCRIPTION > Given a list of parameters, > .BR perf_event_open () > returns a file descriptor, for use in subsequent system calls > -.RB ( read "(2), " mmap "(2), " prctl "(2), " fcntl "(2), etc.)." > +(\c > +.BR read (2), > +.BR mmap (2), > +.BR prctl (2), > +.BR fcntl (2), > +etc.). > .PP > A call to > .BR perf_event_open () > diff --git a/man2/signalfd.2 b/man2/signalfd.2 [...] > diff --git a/man2/timerfd_create.2 b/man2/timerfd_create.2 [...] > diff --git a/man5/proc.5 b/man5/proc.5 > index 04b45ccb7..fd51dcec0 100644 > --- a/man5/proc.5 > +++ b/man5/proc.5 > @@ -3459,7 +3459,9 @@ .SS Files and directories > .TP > .I /proc/locks > This file shows current file locks > -.RB ( flock "(2) and " fcntl (2)) > +.RB ( flock (2) This RB is inconsistent with other parts of this same patch. Cheers, Alex > +and > +.BR fcntl (2)) > and leases > .RB ( fcntl (2)). > .IP > diff --git a/man7/credentials.7 b/man7/credentials.7 [...] > diff --git a/man7/pty.7 b/man7/pty.7 > index bef60e931..3f23be44d 100644 > --- a/man7/pty.7 > +++ b/man7/pty.7 > @@ -122,7 +122,10 @@ .SH FILES > BSD slave devices > .SH NOTES > Pseudoterminals are used by applications such as network login services > -.RB ( ssh "(1), " rlogin "(1), " telnet (1)), > +(\c > +.BR ssh (1), > +.BR rlogin (1), > +.BR telnet (1)), > terminal emulators such as > .BR xterm (1), > .BR script (1), > diff --git a/man7/spufs.7 b/man7/spufs.7 [...] -- <http://www.alejandro-colomar.es/> GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5
Attachment:
OpenPGP_signature
Description: OpenPGP digital signature