From 91555cb3f3238cb10f575c9191c3c2729c8f9473 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 24 Oct 2023 20:53:12 +0000 Subject: Implement the man(7) .MR macro, a 2023 GNU extension. The syntax and semantics is almost identical to mdoc(7) .Xr. This will be needed for reading the groff manual pages once our port will be updated to 1.23, and the Linux Manual Pages Project is also determined to start using it sooner or later. I did not advocate for this new macro, but since we want to remain able to read all manual pages found in the wild, there is little choice but to support it. At least it is easy to do, they basically copied .Xr. --- regress/man/MR/basic.out_ascii | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 regress/man/MR/basic.out_ascii (limited to 'regress/man/MR/basic.out_ascii') diff --git a/regress/man/MR/basic.out_ascii b/regress/man/MR/basic.out_ascii new file mode 100644 index 00000000..d386ba0b --- /dev/null +++ b/regress/man/MR/basic.out_ascii @@ -0,0 +1,29 @@ +MR-BASIC(1) General Commands Manual MR-BASIC(1) + +NNAAMMEE + MR-basic - manual page cross references + +DDEESSCCRRIIPPTTIIOONN + empty: () prints empty name and parentheses + + single argument: name() prints empty parentheses + + two arguments: test(1) normal use + + three arguments: test(1)suffix with suffix + + four arguments: test(1)suffix warning + + five arguments: test(1)suffix warning + + after setting bboolldd ffoonntt:: test(1)suffix not bold + + in bold next-line scope: test(1)suffix not bold + + first tag + first body + + test(1)tag + test body + +OpenBSD October 24, 2023 MR-BASIC(1) -- cgit