[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[groff] 01/01: Support the -susv1 and -susv4 arguments to the mdoc(7) .S
From: |
Ingo Schwarze |
Subject: |
[groff] 01/01: Support the -susv1 and -susv4 arguments to the mdoc(7) .St macro. |
Date: |
Thu, 13 Jan 2022 03:19:42 -0500 (EST) |
schwarze pushed a commit to branch master
in repository groff.
commit 8d40f7574164ee6a7fb240755c6ad65c07fb2985
Author: Ingo Schwarze <schwarze@openbsd.org>
AuthorDate: Thu Jan 13 09:05:22 2022 +0100
Support the -susv1 and -susv4 arguments to the mdoc(7) .St macro.
While i hate adding more aliases for names of standards,
deleting -susv2 is not an option because a considerable number of
FreeBSD manual pages use it. Supporting -susv2 and -susv3 but not
supporting -susv1 (the original standard) and -susv4 (the current
standard) is just weird. Besides, both -susv3 and -susv4 are used
in some FreeBSD manual pages, too.
I'm not adding -xsh4.2 though because no real-world manual pages
use that one; please simply use -xpg4.2 instead.
Too minor to mention in the ChangeLog.
Part of an old diff from Bjarni Ingi Gislason.
OK gbranden@.
Closes https://savannah.gnu.org/bugs/?55789.
---
tmac/groff_mdoc.7.man | 4 ++++
tmac/mdoc/doc-syms | 4 ++++
2 files changed, 8 insertions(+)
diff --git a/tmac/groff_mdoc.7.man b/tmac/groff_mdoc.7.man
index a932807f..a5724d97 100644
--- a/tmac/groff_mdoc.7.man
+++ b/tmac/groff_mdoc.7.man
@@ -2410,10 +2410,14 @@ Part 2: Shell and Utilities
X/Open
.Pp
.Bl -tag -width ".Li \-p1003.1g\-2000" -compact -offset indent
+.It Li \-susv1
+.St -susv1
.It Li \-susv2
.St -susv2
.It Li \-susv3
.St -susv3
+.It Li \-susv4
+.St -susv4
.It Li \-svid4
.St -svid4
.It Li \-xbd5
diff --git a/tmac/mdoc/doc-syms b/tmac/mdoc/doc-syms
index 4712e89e..70317a0a 100644
--- a/tmac/mdoc/doc-syms
+++ b/tmac/mdoc/doc-syms
@@ -689,10 +689,14 @@
.
.\" X/Open
.eo
+.ds doc-str-St--susv1 Version\~1 of the Single
\*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
+.as doc-str-St--susv1 "
(\*[Lq]\*[doc-Tn-font-size]SUSv1\*[doc-str-St]\*[Rq])
.ds doc-str-St--susv2 Version\~2 of the Single
\*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
.as doc-str-St--susv2 "
(\*[Lq]\*[doc-Tn-font-size]SUSv2\*[doc-str-St]\*[Rq])
.ds doc-str-St--susv3 Version\~3 of the Single
\*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
.as doc-str-St--susv3 "
(\*[Lq]\*[doc-Tn-font-size]SUSv3\*[doc-str-St]\*[Rq])
+.ds doc-str-St--susv4 Version\~4 of the Single
\*[doc-Tn-font-size]UNIX\*[doc-str-St] Specification
+.as doc-str-St--susv4 "
(\*[Lq]\*[doc-Tn-font-size]SUSv4\*[doc-str-St]\*[Rq])
.ds doc-str-St--svid4 System\~V Interface Definition, Fourth Edition
.as doc-str-St--svid4 "
(\*[Lq]\*[doc-Tn-font-size]SVID\*[doc-str-St]\^4\*[Rq])
.ds doc-str-St--xbd5 \*[doc-Tn-font-size]X/Open\*[doc-str-St] Base
Definitions Issue\~5
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [groff] 01/01: Support the -susv1 and -susv4 arguments to the mdoc(7) .St macro.,
Ingo Schwarze <=